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: 9cee10973d33
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6dfbfd6a070f
Choose a head ref
  • 16 commits
  • 16 files changed
  • 1 contributor

Commits on Jun 1, 2017

  1. Copy the full SHA
    49edb11 View commit details
  2. Copy the full SHA
    10ee7b2 View commit details
  3. Copy the full SHA
    f069498 View commit details
  4. Copy the full SHA
    ef65854 View commit details
  5. Copy the full SHA
    69248be View commit details
  6. Copy the full SHA
    6919a94 View commit details
  7. Copy the full SHA
    8742c1e View commit details
  8. 10
    Copy the full SHA
    2050213 View commit details
  9. Copy the full SHA
    e2c3d71 View commit details
  10. Copy the full SHA
    cf35515 View commit details
  11. Copy the full SHA
    8cc2373 View commit details
  12. Copy the full SHA
    d745676 View commit details
  13. Copy the full SHA
    114f557 View commit details
  14. Copy the full SHA
    c251ace View commit details
  15. Copy the full SHA
    bdd3f30 View commit details
  16. Copy the full SHA
    6dfbfd6 View commit details
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/Nikola/default.nix
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "Nikola";
version = "7.8.4";
version = "7.8.6";

# Nix contains only Python 3 supported version of doit, which is a dependency
# of Nikola. Python 2 support would require older doit 0.29.0 (which on the
@@ -47,7 +47,7 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "14pd5zk6l6f58snq9n9zpxwhqcc3xz8b1gz31zsrqajggg1i8fn8";
sha256 = "48d3a00c3fc9c61bcd305653a531949bdd777d9211434172549498fd8136e036";
};

meta = {
21 changes: 21 additions & 0 deletions pkgs/development/python-modules/appdirs/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
pname = "appdirs";
version = "1.4.3";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92";
};

meta = {
description = "A python module for determining appropriate platform-specific dirs";
homepage = http://github.com/ActiveState/appdirs;
license = lib.licenses.mit;
};
}
31 changes: 19 additions & 12 deletions pkgs/development/python-modules/bootstrapped-pip/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
{ stdenv, python, fetchurl, makeWrapper, unzip }:
{ stdenv, python, fetchPypi, makeWrapper, unzip }:

let
wheel_source = fetchurl {
url = "https://pypi.python.org/packages/py2.py3/w/wheel/wheel-0.29.0-py2.py3-none-any.whl";
wheel_source = fetchPypi {
pname = "wheel";
version = "0.29.0";
format = "wheel";
sha256 = "ea8033fc9905804e652f75474d33410a07404c1a78dd3c949a66863bd1050ebd";
};
setuptools_source = fetchurl {
url = "https://files.pythonhosted.org/packages/b8/cb/b919f52dd81b4b2210d0c5529b6b629a4002e08d49a90183605d1181b10c/setuptools-30.2.0-py2.py3-none-any.whl";
sha256 = "b7e7b28d6a728ea38953d66e12ef400c3c153c523539f1b3997c5a42f3770ff1";
setuptools_source = fetchPypi {
pname = "setuptools";
version = "36.0.1";
format = "wheel";
sha256 = "f2900e560efc479938a219433c48f15a4ff4ecfe575a65de385eeb44f2425587";
};
argparse_source = fetchurl {
url = "https://pypi.python.org/packages/2.7/a/argparse/argparse-1.4.0-py2.py3-none-any.whl";
sha256 = "0533cr5w14da8wdb2q4py6aizvbvsdbk3sj7m1jx9lwznvnlf5n3";
argparse_source = fetchPypi {
pname = "argparse";
version = "1.4.0";
sha256 = "c31647edb69fd3d465a847ea3157d37bed1f95f19760b11a47aa91c04b666314";
};
in stdenv.mkDerivation rec {
name = "${python.libPrefix}-bootstrapped-pip-${version}";
pname = "pip";
version = "9.0.1";
name = "${python.libPrefix}-bootstrapped-${pname}-${version}";

src = fetchurl {
url = "https://files.pythonhosted.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl";
src = fetchPypi {
inherit pname version;
format = "wheel";
sha256 = "690b762c0a8460c303c089d5d0be034fb15a5ea2b75bdf565f40421f542fefb0";
};

4 changes: 2 additions & 2 deletions pkgs/development/python-modules/edward/default.nix
Original file line number Diff line number Diff line change
@@ -3,14 +3,14 @@

buildPythonPackage rec {
pname = "edward";
version = "1.3.1";
version = "1.3.2";
name = "${pname}-${version}";

disabled = !(isPy27 || pythonAtLeast "3.4");

src = fetchPypi {
inherit pname version;
sha256 = "5f868604c4d13ccc054906fae6c0115edf295a81897cc9dc97026bb083d275ae";
sha256 = "24aa0bf237965f47dd39d2b2ff43718ba75cb12c471b26ff80a972a66ff32de3";
};

# disabled for now due to Tensorflow trying to create files in $HOME:
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/flask-migrate/default.nix
Original file line number Diff line number Diff line change
@@ -5,12 +5,12 @@ with stdenv.lib;

buildPythonPackage rec {
pname = "Flask-Migrate";
version = "2.0.3";
version = "2.0.4";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "107x78lkqsnbg92dld3dkagg07jvchp3ib3y0sivc4ipz6n1y7rk";
sha256 = "1e6dc83bed93aef9a4791d5daaa03b186c8ef5d96c99c7d88166da683c86e42d";
};

checkInputs = optional isPy3k glibcLocales;
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/guessit/default.nix
Original file line number Diff line number Diff line change
@@ -9,12 +9,12 @@

buildPythonPackage rec {
pname = "guessit";
version = "2.1.2";
version = "2.1.3";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "9f7e12b7f2215548284631a20aae6fc009c8af2bb8cc5d5e5e339cb15361dd95";
sha256 = "b2eebbb61e4d2b3764ce4462e0b27da0dccbb25b78e13493a2f913a402e1d0fb";
};

# Tests require more packages.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/hypothesis.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 = "3.11.0";
version = "3.11.1";
pname = "hypothesis";
name = "${pname}-${version}";

@@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "HypothesisWorks";
repo = "hypothesis-python";
rev = "${version}";
sha256 = "1s911pd3y9hvk0hq2fr6i68dqv1ciagryhgp13wgyfqh8hz8j6zv";
sha256 = "5344cc3327bc7fa543fc3b42e85c55f40dda0eeaec38327f9bf373c3ece42b39";
};

checkInputs = stdenv.lib.optionals doCheck [ pytest pytest_xdist flake8 flaky ];
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/ldap.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

buildPythonPackage rec {
pname = "python-ldap";
version = "2.4.38";
version = "2.4.39";
name = "${pname}-${version}";
disabled = isPy3k;

src = fetchPypi {
inherit pname version;
sha256 = "88bab69e519dd8bd83becbe36bd141c174b0fe309e84936cf1bae685b31be779";
sha256 = "3fb75108d27e8091de80dffa2ba3bf45c7a3bdc357e2959006aed52fa58bb2f3";
};

# Needed by tests to setup a mockup ldap server.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/multidict/default.nix
Original file line number Diff line number Diff line change
@@ -7,13 +7,13 @@

let
pname = "multidict";
version = "2.1.5";
version = "2.1.6";
in buildPythonPackage rec {
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "20a30a474882ad174eb64873cfa7bae4604944105adf7f6847141bd7938c5ed1";
sha256 = "9ec33a1da4d2096949e29ddd66a352aae57fad6b5483087d54566a2f6345ae10";
};

buildInputs = [ pytest ];
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/netcdf4.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "netCDF4";
name = "${pname}-${version}";
version = "1.2.7";
version = "1.2.8";

disabled = isPyPy;

src = fetchurl {
url = "mirror://pypi/n/netCDF4/${name}.tar.gz";
sha256 = "1fllizmnpw0zkzzm4j9pgamarlzfn3kmv9zrm0w65q1y31h9ni0c";
sha256 = "31eb4eae5fd3b2bd8f828721142ddcefdbf10287281bf6f636764dd7957f8450";
};

propagatedBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/plotly/default.nix
Original file line number Diff line number Diff line change
@@ -10,12 +10,12 @@

buildPythonPackage rec {
pname = "plotly";
version = "2.0.8";
version = "2.0.9";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "1zbwx771w6425w4g6l9fhq4x1854fdnni6xq9xhvs8xqgxkrljm5";
sha256 = "1b82ec9e09179b5191297b82a3f89f61055b730b09a1821c71fac18e82857e8f";
};

propagatedBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pyroute2/default.nix
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@

buildPythonPackage rec {
pname = "pyroute2";
version = "0.4.14";
version = "0.4.15";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/p/pyroute2/${name}.tar.gz";
sha256 = "eb41cdc5a9e7c017c65c8ff11013fd1b6d6699163bcf469e643cb1799a87d330";
sha256 = "273530e78261ac5e9e2985f12fad9e6c4231f8e49b8c285c05a23dcda5afce58";
};

# requires root priviledges
25 changes: 15 additions & 10 deletions pkgs/development/python-modules/setuptools/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
{ stdenv, lib, fetchurl, python, wrapPython }:
{ stdenv
, fetchPypi
, python
, wrapPython
, unzip
}:

# Should use buildPythonPackage here somehow
stdenv.mkDerivation rec {
pname = "setuptools";
shortName = "${pname}-${version}";
name = "${python.libPrefix}-${shortName}";
version = "36.0.1";
name = "${python.libPrefix}-${pname}-${version}";

version = "30.2.0";

src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${shortName}.tar.gz";
sha256 = "f865709919903e3399343c0b3c42f95e9aeddc41e38cfb334fb2bb5dfa384857";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e17c4687fddd6d70a6604ac0ad25e33324cec71b5137267dd5c45e103c4b288a";
};

buildInputs = [ python wrapPython ];
buildInputs = [ python wrapPython unzip ];
doCheck = false; # requires pytest
installPhase = ''
dst=$out/${python.sitePackages}
@@ -27,7 +32,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Utilities to facilitate the installation of Python packages";
homepage = http://pypi.python.org/pypi/setuptools;
license = with lib.licenses; [ psfl zpt20 ];
license = with licenses; [ psfl zpt20 ];
platforms = platforms.all;
priority = 10;
};
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/vcrpy/default.nix
Original file line number Diff line number Diff line change
@@ -16,12 +16,12 @@

buildPythonPackage rec {
pname = "vcrpy";
version = "1.11.0";
version = "1.11.1";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "beb30de89c3618482ea76662b4135d48fef7417589df49c303b2e85db40c9705";
sha256 = "f434fe7e05d940d576ac850709ae57a738ba40e7f317076ea8d359ced5b32320";
};

checkInputs = [
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/wheel/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, coverage
, jsonschema
}:

buildPythonPackage rec {
pname = "wheel";
version = "0.29.0";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "1ebb8ad7e26b448e9caa4773d2357849bf80ff9e313964bcaf79cbf0201a1648";
};

buildInputs = [ pytest pytestcov coverage ];

propagatedBuildInputs = [ jsonschema ];

# We add this flag to ignore the copy installed by bootstrapped-pip
installFlags = [ "--ignore-installed" ];

meta = {
description = "A built-package format for Python";
license = with lib.licenses; [ mit ];
homepage = https://bitbucket.org/pypa/wheel/;
};
}
70 changes: 4 additions & 66 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1002,20 +1002,7 @@ in {
};
};

appdirs = buildPythonPackage rec {
name = "appdirs-1.4.0";

src = pkgs.fetchurl {
url = "mirror://pypi/a/appdirs/appdirs-1.4.0.tar.gz";
sha256 = "8fc245efb4387a4e3e0ac8ebcc704582df7d72ff6a42a53f5600bbb18fdaadc5";
};

meta = {
description = "A python module for determining appropriate platform-specific dirs";
homepage = http://github.com/ActiveState/appdirs;
license = licenses.mit;
};
};
appdirs = callPackage ../development/python-modules/appdirs { };

application = buildPythonPackage rec {
pname = "python-application";
@@ -1287,36 +1274,8 @@ in {

};

argparse = buildPythonPackage (rec {
name = "argparse-1.4.0";

src = pkgs.fetchurl {
url = "mirror://pypi/a/argparse/${name}.tar.gz";
sha256 = "1r6nznp64j68ih1k537wms7h57nvppq0szmwsaf99n71bfjqkc32";
};

checkPhase = ''
export PYTHONPATH=`pwd`/build/lib:$PYTHONPATH
${python.interpreter} test/test_argparse.py
'';

# ordering issues in tests
doCheck = !isPy3k;

meta = {
homepage = http://code.google.com/p/argparse/;
license = licenses.asl20;
description = "argparse: Python command line parser";
longDescription = ''
The argparse module makes writing command line tools in Python
easy. Just briefly describe your command line interface and
argparse will take care of the rest, including: parsing the
arguments and flags from sys.argv, converting arg strings into
objects for your program, formatting and printing any help
messages, and much more.
'';
};
});
# argparse is part of stdlib in 2.7 and 3.2+
argparse = null;

astroid = callPackage ../development/python-modules/astroid { };

@@ -25950,28 +25909,7 @@ EOF
};
};

wheel = buildPythonPackage rec {
name = "wheel-${version}";
version = "0.29.0";

src = pkgs.fetchurl {
url = "mirror://pypi/w/wheel/${name}.tar.gz";
sha256 = "1ebb8ad7e26b448e9caa4773d2357849bf80ff9e313964bcaf79cbf0201a1648";
};

buildInputs = with self; [ pytest pytestcov coverage ];

propagatedBuildInputs = with self; [ jsonschema ];

# We add this flag to ignore the copy installed by bootstrapped-pip
installFlags = [ "--ignore-installed" ];

meta = {
description = "A built-package format for Python";
license = with licenses; [ mit ];
homepage = https://bitbucket.org/pypa/wheel/;
};
};
wheel = callPackage ../development/python-modules/wheel { };

widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { };