Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 65492f754016
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 05a965896d4f
Choose a head ref

Commits on Dec 25, 2019

  1. libplist: disable python by default

    Introduced in 6449435, only Python 2 is supported and it does not seem to be used by anything.
    jtojnar committed Dec 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    730c92d View commit details

Commits on Dec 29, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    4cb22aa View commit details
  2. gst_all_1.gst-editing-services: switch to python 3

    Also remove no longer needed perl.
    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    544ae96 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    c691baf View commit details
  4. libnl: disable python support by default

    Nothing much seems to be using it and we do not want Python 2 in our closure.
    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    8b6d765 View commit details
  5. dtc: disable Python support by default

    It does not seem to be used by anything and we want to get rid of Python 2 from closure.
    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    23ec74b View commit details
  6. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    e9cdcde View commit details
  7. gn: switch to python 3

    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    c72e388 View commit details
  8. htop: switch to python 3

    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    e4bd8a6 View commit details
  9. folks: only depend on Python 3

    For some reason we depended on both.
    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    b842dfd View commit details
  10. mda_lv2: drop python dep

    It does not appear to be actually necessary – wafHook will add it.
    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    1fd1737 View commit details
  11. gnumeric: switch to python 3

    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    843d147 View commit details
  12. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    c16bcf7 View commit details
  13. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    7e8293e View commit details
  14. libpwquality: switch to python 3

    Nothing seems to use the Python bindings anyway.
    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    6577ec9 View commit details
  15. crda: port to Python 3

    jtojnar committed Dec 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    4a583c8 View commit details

Commits on Jan 3, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    d05ee9c View commit details
  2. fmt: remove the enableShared option

    Static libraries are to be provided by the pkgsStatic.fmt package.
    veprbl committed Jan 3, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    7e5b495 View commit details
  3. gtest: remove the "static" option

    pkgsStatic.gtest already has CMAKE_BUILD_SHARED set to OFF.
    veprbl committed Jan 3, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    7e2c821 View commit details
  4. glog: remove the "static" option

    pkgsStatic.glog already has CMAKE_BUILD_SHARED set to OFF.
    veprbl committed Jan 3, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    4541012 View commit details
  5. double-conversion: remove the "static" option

    pkgsStatic.double-conversion already has CMAKE_BUILD_SHARED set to OFF.
    veprbl committed Jan 3, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    bb890c4 View commit details
  6. Copy the full SHA
    28c3715 View commit details
  7. xcode: don’t use libstdc++ on iOS

    Apple no longer ships with it, so best to avoid forcing it into use.
    matthewbauer committed Jan 3, 2020
    Copy the full SHA
    3432b1b View commit details
  8. ghc: always use llvm with iOS

    Even when building for the simulator.
    matthewbauer committed Jan 3, 2020
    Copy the full SHA
    036cef9 View commit details
  9. Copy the full SHA
    010d2f4 View commit details
  10. cctools: only add libtool on native builds

    libtool is not really needed and it interferes with
    updateAutotoolsGnuConfigScriptsHook. So remove it when
    cross-compiling, but leave it in native to preserve hashes.
    matthewbauer committed Jan 3, 2020
    Copy the full SHA
    6f8b2f3 View commit details
  11. Copy the full SHA
    8b41b16 View commit details
  12. Copy the full SHA
    9c1a2ac View commit details
  13. Merge pull request #74284 from matthewbauer/ios-with-xcode-11

    Update iOS for XCode 11
    matthewbauer authored Jan 3, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0400033 View commit details

Commits on Jan 4, 2020

  1. ffmpeg: fix cross compilation

    danielfullmer authored and Mic92 committed Jan 4, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Mic92 Jörg Thalheim
    Copy the full SHA
    1b591ac View commit details
  2. Revert "ffmpeg: fix cross compilation"

    This reverts commit f6f8f0b.
    
    avoid mass-rebuild on master; move to staging instead.
    Mic92 committed Jan 4, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Mic92 Jörg Thalheim
    Copy the full SHA
    7d46f73 View commit details
  3. Revert "Revert "ffmpeg: fix cross compilation""

    This reverts commit 7d46f73.
    
    This change was accidentally commit to master. To avoid a mass-rebuild we
    actually apply this change on staging first.
    Mic92 committed Jan 4, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Mic92 Jörg Thalheim
    Copy the full SHA
    1a931f1 View commit details
  4. Copy the full SHA
    a3f40b5 View commit details
  5. Copy the full SHA
    07ceb05 View commit details
  6. Copy the full SHA
    2dc4ab3 View commit details

Commits on Jan 5, 2020

  1. Copy the full SHA
    981b944 View commit details

Commits on Jan 6, 2020

  1. docbook-xsl: Fix reproducibility when building docs

    When building docs generate.consistent.ids was not respected for indexes.
    
    docbook/xslt10-stylesheets#88
    https://sourceforge.net/p/docbook/bugs/1385/
    
    This lead to r13y failures in udisks2.devdoc.
    jtojnar authored and FRidh committed Jan 6, 2020
    Copy the full SHA
    d8369ed View commit details
  2. Merge pull request #76659 from veprbl/pr/cmake_static_adapter

    pkgsStatic: set BUILD_SHARED_LIBS=OFF for cmake
    FRidh authored Jan 6, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f4b4ef1 View commit details
  3. Merge pull request #76488 from jtojnar/more-python-cleanups

    Another batch of Python 2 clean-ups
    FRidh authored Jan 6, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8fff915 View commit details
  4. Copy the full SHA
    4a91444 View commit details
  5. Copy the full SHA
    252c56f View commit details
  6. Copy the full SHA
    7f81119 View commit details

Commits on Jan 7, 2020

  1. Merge master into staging-next

    FRidh committed Jan 7, 2020
    Copy the full SHA
    a823616 View commit details

Commits on Jan 8, 2020

  1. Merge branch 'master' into staging-next

    The nss rebuild isn't so small.
    vcunat committed Jan 8, 2020

    Verified

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

Commits on Jan 10, 2020

  1. Revert "python3: now points to python38"

    This is going to require more work.
    
    This reverts commit 2dc4ab3.
    FRidh committed Jan 10, 2020
    Copy the full SHA
    eb13696 View commit details
  2. Merge master into staging-next

    FRidh committed Jan 10, 2020
    Copy the full SHA
    5ad16cb View commit details
  3. Merge master into staging-next

    FRidh committed Jan 10, 2020
    Copy the full SHA
    348eaa2 View commit details

Commits on Jan 11, 2020

  1. Revert "python3Packages.hypothesis: 4.41.0 -> 4.56.1"

    This updated only the version, not the hash.
    
    #77372
    
    This reverts commit 046c402.
    FRidh committed Jan 11, 2020
    Copy the full SHA
    e4a75b0 View commit details
  2. Merge master into staging-next

    FRidh committed Jan 11, 2020
    Copy the full SHA
    1a65457 View commit details

Commits on Jan 12, 2020

  1. Merge master into staging-next

    FRidh committed Jan 12, 2020
    Copy the full SHA
    960f062 View commit details
Showing with 118 additions and 82 deletions.
  1. +2 −2 doc/languages-frameworks/python.section.md
  2. +8 −8 lib/systems/examples.nix
  3. +2 −2 pkgs/applications/audio/mda-lv2/default.nix
  4. +2 −2 pkgs/applications/office/gnumeric/default.nix
  5. +9 −0 pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix
  6. +1 −1 pkgs/development/compilers/dtc/default.nix
  7. +1 −1 pkgs/development/compilers/ghc/8.4.4.nix
  8. +1 −1 pkgs/development/compilers/ghc/8.6.5.nix
  9. +1 −1 pkgs/development/compilers/ghc/8.8.1.nix
  10. +1 −1 pkgs/development/compilers/ghc/head.nix
  11. +2 −2 pkgs/development/libraries/double-conversion/default.nix
  12. +3 −1 pkgs/development/libraries/ffmpeg/generic.nix
  13. +5 −5 pkgs/development/libraries/fmt/default.nix
  14. +0 −2 pkgs/development/libraries/folks/default.nix
  15. +2 −4 pkgs/development/libraries/gstreamer/ges/default.nix
  16. +2 −2 pkgs/development/libraries/gstreamer/ugly/default.nix
  17. +2 −2 pkgs/development/libraries/gstreamer/validate/default.nix
  18. +2 −3 pkgs/development/libraries/gtest/default.nix
  19. +10 −8 pkgs/development/libraries/libplist/default.nix
  20. +2 −2 pkgs/development/libraries/libpwquality/default.nix
  21. +2 −2 pkgs/development/libraries/qt-5/modules/qtdeclarative.nix
  22. +1 −1 pkgs/development/python-modules/hypothesis/default.nix
  23. +2 −2 pkgs/development/python-modules/setuptools/default.nix
  24. +2 −2 pkgs/development/tools/build-managers/gn/default.nix
  25. +8 −2 pkgs/os-specific/darwin/xcode/default.nix
  26. +2 −1 pkgs/os-specific/darwin/xcode/sdk-pkgs.nix
  27. +5 −0 pkgs/os-specific/linux/apparmor/default.nix
  28. +22 −2 pkgs/os-specific/linux/crda/default.nix
  29. +1 −1 pkgs/os-specific/linux/libnl/default.nix
  30. +1 −0 pkgs/stdenv/adapters.nix
  31. +2 −2 pkgs/tools/networking/strongswan/default.nix
  32. +2 −2 pkgs/tools/package-management/packagekit/default.nix
  33. +2 −2 pkgs/tools/system/htop/default.nix
  34. +1 −1 pkgs/top-level/all-packages.nix
  35. +6 −2 pkgs/top-level/darwin-packages.nix
  36. +1 −1 pkgs/top-level/python-packages.nix
  37. +0 −9 pkgs/top-level/static.nix
4 changes: 2 additions & 2 deletions doc/languages-frameworks/python.section.md
Original file line number Diff line number Diff line change
@@ -496,8 +496,8 @@ and in this case the `python35` interpreter is automatically used.

### Interpreters

Versions 2.7, 3.5, 3.6 and 3.7 of the CPython interpreter are available as
respectively `python27`, `python35`, `python36` and `python37`. The aliases
Versions 2.7, 3.5, 3.6, 3.7 and 3.8 of the CPython interpreter are available as
respectively `python27`, `python35`, `python36`, `python37` and `python38`. The aliases
`python2` and `python3` correspond to respectively `python27` and
`python37`. The default interpreter, `python`, maps to `python2`. The PyPy
interpreters compatible with Python 2.7 and 3 are available as `pypy27` and
16 changes: 8 additions & 8 deletions lib/systems/examples.nix
Original file line number Diff line number Diff line change
@@ -170,8 +170,8 @@ rec {
iphone64 = {
config = "aarch64-apple-ios";
# config = "aarch64-apple-darwin14";
sdkVer = "10.2";
xcodeVer = "8.2";
sdkVer = "12.4";
xcodeVer = "10.3";
xcodePlatform = "iPhoneOS";
useiOSPrebuilt = true;
platform = {};
@@ -180,8 +180,8 @@ rec {
iphone32 = {
config = "armv7a-apple-ios";
# config = "arm-apple-darwin10";
sdkVer = "10.2";
xcodeVer = "8.2";
sdkVer = "12.4";
xcodeVer = "10.3";
xcodePlatform = "iPhoneOS";
useiOSPrebuilt = true;
platform = {};
@@ -190,8 +190,8 @@ rec {
iphone64-simulator = {
config = "x86_64-apple-ios";
# config = "x86_64-apple-darwin14";
sdkVer = "10.2";
xcodeVer = "8.2";
sdkVer = "12.4";
xcodeVer = "10.3";
xcodePlatform = "iPhoneSimulator";
useiOSPrebuilt = true;
platform = {};
@@ -200,8 +200,8 @@ rec {
iphone32-simulator = {
config = "i686-apple-ios";
# config = "i386-apple-darwin11";
sdkVer = "10.2";
xcodeVer = "8.2";
sdkVer = "12.4";
xcodeVer = "10.3";
xcodePlatform = "iPhoneSimulator";
useiOSPrebuilt = true;
platform = {};
4 changes: 2 additions & 2 deletions pkgs/applications/audio/mda-lv2/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fftwSinglePrec, lv2, pkgconfig, python, wafHook }:
{ stdenv, fetchurl, fftwSinglePrec, lv2, pkgconfig, wafHook }:

stdenv.mkDerivation rec {
pname = "mda-lv2";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ pkgconfig wafHook ];
buildInputs = [ fftwSinglePrec lv2 python ];
buildInputs = [ fftwSinglePrec lv2 ];

meta = with stdenv.lib; {
homepage = http://drobilla.net/software/mda-lv2/;
4 changes: 2 additions & 2 deletions pkgs/applications/office/gnumeric/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, pkgconfig, intltool, perlPackages
, goffice, gnome3, wrapGAppsHook, gtk3, bison, pythonPackages
, goffice, gnome3, wrapGAppsHook, gtk3, bison, python3Packages
, itstool
}:

let
inherit (pythonPackages) python pygobject3;
inherit (python3Packages) python pygobject3;
in stdenv.mkDerivation rec {
pname = "gnumeric";
version = "1.12.46";
9 changes: 9 additions & 0 deletions pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix
Original file line number Diff line number Diff line change
@@ -22,6 +22,15 @@ let
stripLen = "1";
})

# Fix reproducibility by respecting generate.consistent.ids in indexes
# https://github.com/docbook/xslt10-stylesheets/pull/88
# https://sourceforge.net/p/docbook/bugs/1385/
(fetchpatch {
url = "https://github.com/docbook/xslt10-stylesheets/commit/07631601e6602bc49b8eac3aab9d2b35968d3e7a.patch";
sha256 = "0igfhcr6hzcydqsnjsd181h5yl3drjnrwdmxcybr236m8255vkq3";
stripLen = "1";
})

# Add legacy sourceforge.net URIs to the catalog
(substituteAll {
src = ./catalog-legacy-uris.patch;
2 changes: 1 addition & 1 deletion pkgs/development/compilers/dtc/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchgit, flex, bison, pkgconfig, which
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform, python, swig
, pythonSupport ? false, python, swig
}:

stdenv.mkDerivation rec {
2 changes: 1 addition & 1 deletion pkgs/development/compilers/ghc/8.4.4.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

, libiconv ? null, ncurses

, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform)
, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform) || stdenv.targetPlatform.isiOS
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
# build-time dependency too.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/ghc/8.6.5.nix
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
, # GHC can be built with system libffi or a bundled one.
libffi ? null

, useLLVM ? !stdenv.targetPlatform.isx86
, useLLVM ? !stdenv.targetPlatform.isx86 || stdenv.targetPlatform.isiOS
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
# build-time dependency too.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/ghc/8.8.1.nix
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
, # GHC can be built with system libffi or a bundled one.
libffi ? null

, useLLVM ? !stdenv.targetPlatform.isx86
, useLLVM ? !stdenv.targetPlatform.isx86 || stdenv.targetPlatform.isiOS
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
# build-time dependency too.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/ghc/head.nix
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
, enableDwarf ? !stdenv.targetPlatform.isDarwin &&
!stdenv.targetPlatform.isWindows, elfutils # for DWARF support

, useLLVM ? !stdenv.targetPlatform.isx86
, useLLVM ? !stdenv.targetPlatform.isx86 || stdenv.targetPlatform.isiOS
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
# build-time dependency too.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/double-conversion/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, cmake, static ? false }:
{ stdenv, lib, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
pname = "double-conversion";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];

cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];

# Case sensitivity issue
preConfigure = lib.optionalString stdenv.isDarwin ''
4 changes: 3 additions & 1 deletion pkgs/development/libraries/ffmpeg/generic.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, addOpenGLRunpath, perl, texinfo, yasm
{ stdenv, buildPackages, fetchurl, pkgconfig, addOpenGLRunpath, perl, texinfo, yasm
, alsaLib, bzip2, fontconfig, freetype, gnutls, libiconv, lame, libass, libogg
, libssh, libtheora, libva, libdrm, libvorbis, libvpx, lzma, libpulseaudio, soxr
, x264, x265, xvidcore, zlib, libopus, speex, nv-codec-headers, dav1d
@@ -163,8 +163,10 @@ stdenv.mkDerivation rec {
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"--cross-prefix=${stdenv.cc.targetPrefix}"
"--enable-cross-compile"
"--pkg-config=pkg-config" # Override ffmpeg's ./configure assumption that pkg-config is prefixed by the architecture. (e.g. aarch64-unknown-linux-gnu-pkg-config)
] ++ optional stdenv.cc.isClang "--cc=clang");

depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ addOpenGLRunpath perl pkgconfig texinfo yasm ];

buildInputs = [
10 changes: 5 additions & 5 deletions pkgs/development/libraries/fmt/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, enableShared ? true }:
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
version = "6.0.0";
@@ -17,16 +17,16 @@ stdenv.mkDerivation rec {

cmakeFlags = [
"-DFMT_TEST=TRUE"
"-DBUILD_SHARED_LIBS=${if enableShared then "TRUE" else "FALSE"}"
"-DBUILD_SHARED_LIBS=TRUE"
];

enableParallelBuilding = true;

doCheck = true;
# preCheckHook ensures the test binaries can find libfmt.so
preCheck = if enableShared
then "export LD_LIBRARY_PATH=\"$PWD\""
else "";
preCheck = ''
export LD_LIBRARY_PATH="$PWD"
'';

meta = with stdenv.lib; {
description = "Small, safe and fast formatting library";
2 changes: 0 additions & 2 deletions pkgs/development/libraries/folks/default.nix
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@
, libsecret
, db
, python3
, python
, readline
, gtk3
}:
@@ -51,7 +50,6 @@ stdenv.mkDerivation rec {
meson
ninja
pkgconfig
python
python3
vala
];
6 changes: 2 additions & 4 deletions pkgs/development/libraries/gstreamer/ges/default.nix
Original file line number Diff line number Diff line change
@@ -4,11 +4,10 @@
, meson
, ninja
, pkgconfig
, python
, python3
, gst-plugins-base
, libxml2
, flex
, perl
, gettext
, gobject-introspection
}:
@@ -34,9 +33,8 @@ stdenv.mkDerivation rec {
pkgconfig
gettext
gobject-introspection
python
python3
flex
perl
];

buildInputs = [
4 changes: 2 additions & 2 deletions pkgs/development/libraries/gstreamer/ugly/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
, meson
, ninja
, pkgconfig
, python
, python3
, gst-plugins-base
, orc
, gettext
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
ninja
gettext
pkgconfig
python
python3
];

buildInputs = [
4 changes: 2 additions & 2 deletions pkgs/development/libraries/gstreamer/validate/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
, pkgconfig
, gstreamer
, gst-plugins-base
, python
, python3
, gobject-introspection
, json-glib
}:
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
];

buildInputs = [
python
python3
json-glib
];

5 changes: 2 additions & 3 deletions pkgs/development/libraries/gtest/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ stdenv, cmake, ninja, fetchFromGitHub
, static ? false }:
{ stdenv, cmake, ninja, fetchFromGitHub }:

stdenv.mkDerivation rec {
pname = "gtest";
@@ -20,7 +19,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ninja ];

cmakeFlags = stdenv.lib.optional (!static) "-DBUILD_SHARED_LIBS=ON";
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];

meta = with stdenv.lib; {
description = "Google's framework for writing C++ tests";
18 changes: 10 additions & 8 deletions pkgs/development/libraries/libplist/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ stdenv, autoreconfHook, fetchFromGitHub, pkgconfig, python2Packages, glib }:
{ stdenv, autoreconfHook, fetchFromGitHub, pkgconfig, enablePython ? false, python, glib }:

let
inherit (python2Packages) python cython;
in
stdenv.mkDerivation rec {
pname = "libplist";
version = "2019-04-04";
@@ -14,18 +11,23 @@ stdenv.mkDerivation rec {
sha256 = "19yw80yblq29i2jx9yb7bx0lfychy9dncri3fk4as35kq5bf26i8";
};

outputs = ["bin" "dev" "out" "py"];
outputs = ["bin" "dev" "out" ] ++ stdenv.lib.optional enablePython "py";

nativeBuildInputs = [
pkgconfig
python
cython
autoreconfHook
] ++ stdenv.lib.optionals enablePython [
python
python.pkgs.cython
];

configureFlags = stdenv.lib.optionals (!enablePython) [
"--without-cython"
];

propagatedBuildInputs = [ glib ];

postFixup = ''
postFixup = stdenv.lib.optionalString enablePython ''
moveToOutput "lib/${python.libPrefix}" "$py"
'';

4 changes: 2 additions & 2 deletions pkgs/development/libraries/libpwquality/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, autoreconfHook, perl, cracklib, python }:
{ stdenv, lib, fetchFromGitHub, autoreconfHook, perl, cracklib, python3 }:

stdenv.mkDerivation rec {
pname = "libpwquality";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ autoreconfHook perl ];
buildInputs = [ cracklib python ];
buildInputs = [ cracklib python3 ];

meta = with lib; {
description = "Password quality checking and random password generation library";
4 changes: 2 additions & 2 deletions pkgs/development/libraries/qt-5/modules/qtdeclarative.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ qtModule, lib, python2, qtbase, qtsvg }:
{ qtModule, lib, python3, qtbase, qtsvg }:

with lib;

qtModule {
name = "qtdeclarative";
qtInputs = [ qtbase qtsvg ];
nativeBuildInputs = [ python2 ];
nativeBuildInputs = [ python3 ];
outputs = [ "out" "dev" "bin" ];
preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/hypothesis/default.nix
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ buildPythonPackage rec {
# pytz fake_factory django numpy pytest
# If you need these, you can just add them to your environment.

version = "4.56.1";
version = "4.41.0";
pname = "hypothesis";

# Use github tarballs that includes tests
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/setuptools/default.nix
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@

let
pname = "setuptools";
version = "42.0.2";
version = "44.0.0";

# Create an sdist of setuptools
sdist = stdenv.mkDerivation rec {
@@ -23,7 +23,7 @@ let
owner = "pypa";
repo = pname;
rev = "v${version}";
sha256 = "1xqx3sha5ir40g1h15r7q063bcbl9bvh967vig574k3jgwxrz2ik";
sha256 = "0z3q0qinyp1rmnxkw3y5f6nbsxhqlfq5k7skfrqa6ymb3zr009y1";
name = "${pname}-${version}-source";
};

Loading