Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ecd9d74d973e
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 74d1acd76279
Choose a head ref
  • 16 commits
  • 13 files changed
  • 6 contributors

Commits on Aug 18, 2018

  1. qtcreator: enable on aarch64 and armv7

    Patch (from https://bugreports.qt.io/browse/QTCREATORBUG-8107) to allow botan to build on arm.
    Thra11 committed Aug 18, 2018
    Copy the full SHA
    73ac451 View commit details

Commits on Aug 19, 2018

  1. Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    8af2786 View commit details

Commits on Aug 20, 2018

  1. Fabric: add license

    Mic92 committed Aug 20, 2018
    Copy the full SHA
    09bdc30 View commit details
  2. SDL_image: add license

    Mic92 committed Aug 20, 2018
    Copy the full SHA
    7f991de View commit details
  3. SDL_mixer: add license

    Mic92 committed Aug 20, 2018
    Copy the full SHA
    1afba87 View commit details
  4. Copy the full SHA
    e180e01 View commit details
  5. 915resolution: add license

    Mic92 committed Aug 20, 2018
    Copy the full SHA
    d59447c View commit details

Commits on Aug 23, 2018

  1. usb-storage -> uas

    Following up NixOS/nixpkgs#23665
    
    Bootable USB-drives are not limited to ISO-images, there can be "normal" MBR/GPT-partitioned disk connected via USB-rack.
    Also, "uas" implies "usb-storage", so there is no need to mention both.
    volth committed Aug 23, 2018
    Copy the full SHA
    d4ef7c6 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    903306a View commit details
  3. pass: Fix dependencies on Darwin

    password-store on Darwin does not pass unit tests in sandboxed
    builds:
    
    - 'openssl base64' is used on Darwin to compute base64. Add openssl
      to the environment of pass.
    - t0200-edit-tests.sh tests 'pass edit', which uses hdid on Darwin.
      However hdid is not available in the sandbox.
    danieldk committed Aug 23, 2018
    Copy the full SHA
    c9c3663 View commit details
  4. Merge pull request #45495 from danieldk/pass-darwin

    pass: Fix dependencies on Darwin
    Mic92 authored Aug 23, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8834b28 View commit details
  5. Merge pull request #45494 from volth/usb-storage->uas

    usb-storage -> uas
    Mic92 authored Aug 23, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9985ed6 View commit details
  6. _9pfs: add license + homepage

    Mic92 committed Aug 23, 2018
    Copy the full SHA
    af3e447 View commit details
  7. aacskeys: add license

    Mic92 committed Aug 23, 2018
    Copy the full SHA
    f120ee3 View commit details
  8. aefs: add license

    Mic92 committed Aug 23, 2018
    Copy the full SHA
    229a233 View commit details
  9. Merge pull request #45336 from Mic92/licenses

    Add licenses
    Mic92 authored Aug 23, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    74d1acd View commit details
2 changes: 1 addition & 1 deletion nixos/modules/installer/cd-dvd/iso-image.nix
Original file line number Diff line number Diff line change
@@ -318,7 +318,7 @@ in
options = [ "allow_other" "cow" "nonempty" "chroot=/mnt-root" "max_files=32768" "hide_meta_files" "dirs=/nix/.rw-store=rw:/nix/.ro-store=ro" ];
};

boot.initrd.availableKernelModules = [ "squashfs" "iso9660" "usb-storage" "uas" ];
boot.initrd.availableKernelModules = [ "squashfs" "iso9660" "uas" ];

boot.blacklistedKernelModules = [ "nouveau" ];

2 changes: 1 addition & 1 deletion nixos/modules/profiles/all-hardware.nix
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@

# USB support, especially for booting from USB CD-ROM
# drives.
"usb_storage"
"uas"

# Firewire support. Not tested.
"ohci1394" "sbp2"
1 change: 1 addition & 0 deletions pkgs/development/libraries/SDL_image/default.nix
Original file line number Diff line number Diff line change
@@ -26,5 +26,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.libsdl.org/projects/SDL_image/";
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
license = licenses.zlib;
};
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/SDL_mixer/default.nix
Original file line number Diff line number Diff line change
@@ -21,5 +21,6 @@ stdenv.mkDerivation rec {
homepage = http://www.libsdl.org/projects/SDL_mixer/;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
license = licenses.zlib;
};
}
13 changes: 8 additions & 5 deletions pkgs/development/libraries/Xaw3d/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{stdenv, fetchurl, xlibsWrapper, imake, gccmakedep, libXmu, libXpm, libXp, bison, flex, pkgconfig}:
{ stdenv, fetchurl
, imake, gccmakedep, bison, flex, pkgconfig
, xlibsWrapper, libXmu, libXpm, libXp }:

stdenv.mkDerivation {
name = "Xaw3d-1.6.3";
src = fetchurl {
url = https://www.x.org/releases/individual/lib/libXaw3d-1.6.3.tar.bz2;
sha256 = "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [imake gccmakedep libXpm libXp bison flex];
propagatedBuildInputs = [xlibsWrapper libXmu];
nativeBuildInputs = [ pkgconfig bison flex imake gccmakedep ];
buildInputs = [ libXpm libXp ];
propagatedBuildInputs = [ xlibsWrapper libXmu ];

meta = {
meta = with stdenv.lib; {
description = "3D widget set based on the Athena Widget set";
platforms = stdenv.lib.platforms.unix;
license = licenses.mit;
};
}
5 changes: 3 additions & 2 deletions pkgs/development/libraries/aacskeys/default.nix
Original file line number Diff line number Diff line change
@@ -38,9 +38,10 @@ stdenv.mkDerivation {
install -Dm444 ProcessingDeviceKeysSimple.txt $out/share/${baseName}
'';

meta = {
meta = with stdenv.lib; {
homepage = http://forum.doom9.org/showthread.php?t=123311;
description = "A library and program to retrieve decryption keys for HD discs";
platforms = stdenv.lib.platforms.linux;
platforms = platforms.linux;
license = licenses.publicDomain;
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
From c6d02dba2911d93e2379cfb5e550b93558dd51bf Mon Sep 17 00:00:00 2001
From: Greg Nietsky <gregory@distrotech.co.za>
Date: Tue, 4 Mar 2014 11:33:40 +0200
Subject: [PATCH] Fix: Allow qt-creator to build on arm aarch32 and aarch64

Botan is imported hardwired for x86 this small patch allows it
too operate on arm other platforms could be added.

Task-number: QTCREATORBUG-8107
Change-Id: Iddea28f21c9fa1afd2fdd5d16a44e6c96a516a7a
---
src/libs/3rdparty/botan/botan.cpp | 16 +++++++++++++++-
src/libs/3rdparty/botan/botan.h | 2 ++
2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/src/libs/3rdparty/botan/botan.cpp b/src/libs/3rdparty/botan/botan.cpp
index 917c385..4364a2e 100644
--- a/src/libs/3rdparty/botan/botan.cpp
+++ b/src/libs/3rdparty/botan/botan.cpp
@@ -1101,6 +1101,8 @@ class Montgomery_Exponentiator : public Modular_Exponentiator

#if (BOTAN_MP_WORD_BITS != 32)
#error The mp_x86_32 module requires that BOTAN_MP_WORD_BITS == 32
+#elif !defined(BOTAN_TARGET_CPU_IS_X86_FAMILY)
+typedef Botan::u64bit dword;
#endif

#ifdef Q_OS_UNIX
@@ -1118,6 +1120,7 @@ extern "C" {
*/
inline word word_madd2(word a, word b, word* c)
{
+#if defined(BOTAN_TARGET_CPU_IS_X86_FAMILY)
asm(
ASM("mull %[b]")
ASM("addl %[c],%[a]")
@@ -1127,6 +1130,11 @@ inline word word_madd2(word a, word b, word* c)
: "0"(a), "1"(b), [c]"g"(*c) : "cc");

return a;
+#else
+ dword z = (dword)a * b + *c;
+ *c = (word)(z >> BOTAN_MP_WORD_BITS);
+ return (word)z;
+#endif
}

/*
@@ -1134,6 +1142,7 @@ inline word word_madd2(word a, word b, word* c)
*/
inline word word_madd3(word a, word b, word c, word* d)
{
+#if defined(BOTAN_TARGET_CPU_IS_X86_FAMILY)
asm(
ASM("mull %[b]")

@@ -1147,6 +1156,11 @@ inline word word_madd3(word a, word b, word c, word* d)
: "0"(a), "1"(b), [c]"g"(c), [d]"g"(*d) : "cc");

return a;
+#else
+ dword z = (dword)a * b + c + *d;
+ *d = (word)(z >> BOTAN_MP_WORD_BITS);
+ return (word)z;
+#endif
}

}
@@ -2315,7 +2329,7 @@ namespace Botan {

extern "C" {

-#ifdef Q_OS_UNIX
+#if defined(Q_OS_UNIX) && defined(BOTAN_TARGET_CPU_IS_X86_FAMILY)
/*
* Helper Macros for x86 Assembly
*/
diff --git a/src/libs/3rdparty/botan/botan.h b/src/libs/3rdparty/botan/botan.h
index 6a9cbe0..3bfdbc2 100644
--- a/src/libs/3rdparty/botan/botan.h
+++ b/src/libs/3rdparty/botan/botan.h
@@ -81,7 +81,9 @@
#endif

#define BOTAN_TARGET_CPU_IS_LITTLE_ENDIAN
+#if !defined(__arm__) && !defined(__aarch64__)
#define BOTAN_TARGET_CPU_IS_X86_FAMILY
+#endif
#define BOTAN_TARGET_UNALIGNED_MEMORY_ACCESS_OK 1

#if defined(BOTAN_TARGET_CPU_IS_LITTLE_ENDIAN) || \
--
2.3.0

4 changes: 3 additions & 1 deletion pkgs/development/tools/qtcreator/default.nix
Original file line number Diff line number Diff line change
@@ -23,6 +23,8 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ qmake makeWrapper ];

patches = optional stdenv.hostPlatform.isArm ./0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch;

doCheck = true;

enableParallelBuilding = true;
@@ -55,6 +57,6 @@ stdenv.mkDerivation rec {
homepage = https://wiki.qt.io/Category:Tools::QtCreator;
license = "LGPL";
maintainers = [ maintainers.akaWolf ];
platforms = [ "i686-linux" "x86_64-linux" ];
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" ];
};
}
3 changes: 2 additions & 1 deletion pkgs/os-specific/linux/915resolution/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

stdenv.mkDerivation rec {
name = "915resolution-0.5.3";

src = fetchurl {
url = "http://915resolution.mango-lang.org/${name}.tar.gz";
sha256 = "0hmmy4kkz3x6yigz6hk99416ybznd67dpjaxap50nhay9f1snk5n";
@@ -15,5 +15,6 @@ stdenv.mkDerivation rec {
homepage = http://915resolution.mango-lang.org/;
description = "A tool to modify Intel 800/900 video BIOS";
platforms = [ "i686-linux" "x86_64-linux" ];
license = licenses.publicDomain;
};
}
3 changes: 2 additions & 1 deletion pkgs/tools/filesystems/9pfs/default.nix
Original file line number Diff line number Diff line change
@@ -22,9 +22,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;

meta = {
#homepage = https://github.com/spewspew/9pfs; # the account apparently doesn't exist
homepage = https://github.com/mischief/9pfs;
description = "FUSE-based client of the 9P network filesystem protocol";
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.linux;
license = with lib.licenses; [ lpl-102 bsd2 ];
};
}
11 changes: 6 additions & 5 deletions pkgs/tools/filesystems/aefs/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{ stdenv, fetchurl, fuse }:

stdenv.mkDerivation rec {
name = "aefs-0.4pre259-8843b7c";

src = fetchurl {
url = "http://tarballs.nixos.org/${name}.tar.bz2";
sha256 = "167hp58hmgdavg2mqn5dx1xgq24v08n8d6psf33jhbdabzx6a6zq";
};

buildInputs = [ fuse ];

meta = {
meta = with stdenv.lib; {
homepage = http://www.st.ewi.tudelft.nl/~dolstra/aefs/;
description = "A cryptographic filesystem implemented in userspace using FUSE";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = platforms.linux;
maintainers = [ maintainers.eelco ];
license = licenses.gpl2;
};
}
10 changes: 7 additions & 3 deletions pkgs/tools/security/pass/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, lib, pkgs, fetchurl, buildEnv
, coreutils, gnused, getopt, git, tree, gnupg, which, procps, qrencode
, makeWrapper
, coreutils, gnused, getopt, git, tree, gnupg, openssl, which, procps
, qrencode , makeWrapper

, xclip ? null, xdotool ? null, dmenu ? null
, x11Support ? !stdenv.isDarwin
@@ -66,7 +66,8 @@ let
which
qrencode
procps
] ++ ifEnable x11Support [ dmenu xclip xdotool ]);
] ++ optional stdenv.isDarwin openssl
++ ifEnable x11Support [ dmenu xclip xdotool ]);

postFixup = ''
# Link extensions env
@@ -97,6 +98,9 @@ let
-e 's@^GPGS=.*''$@GPG=${gnupg}/bin/gpg2@' \
-e '/which gpg/ d' \
tests/setup.sh
'' + stdenv.lib.optionalString stdenv.isDarwin ''
# 'pass edit' uses hdid, which is not available from the sandbox.
rm -f tests/t0200-edit-tests.sh
'';

doCheck = false;
5 changes: 5 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -2446,6 +2446,11 @@ in {
doCheck = (!isPyPy); # https://github.com/fabric/fabric/issues/11891
propagatedBuildInputs = with self; [ paramiko pycrypto ];
buildInputs = with self; [ fudge_9 nose ];
meta = {
description = "Pythonic remote execution";
homepage = https://www.fabfile.org/;
license = licenses.bsd2;
};
};

faulthandler = if ! isPy3k