From 5217969f691e21dc62c6ed16eb6bb6a51afed0ee Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Tue, 2 May 2017 20:11:49 +0200 Subject: [PATCH] python-stevedore: 1.7.0 -> 1.21.0 --- .../python-modules/stevedore/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 20 +--------------- 2 files changed, 24 insertions(+), 19 deletions(-) create mode 100644 pkgs/development/python-modules/stevedore/default.nix diff --git a/pkgs/development/python-modules/stevedore/default.nix b/pkgs/development/python-modules/stevedore/default.nix new file mode 100644 index 000000000000..c6ce6c0d922e --- /dev/null +++ b/pkgs/development/python-modules/stevedore/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchPypi, oslosphinx, pbr, six, argparse }: + +buildPythonPackage rec { + pname = "stevedore"; + version = "1.21.0"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "12sg88ax0lv2sxr685rqdaxm9gryjrpj4fvax459zvwy1r4n83ma"; + }; + + doCheck = false; + + buildInputs = [ oslosphinx ]; + propagatedBuildInputs = [ pbr six argparse ]; + + meta = with stdenv.lib; { + description = "Manage dynamic plugins for Python applications"; + homepage = "https://pypi.python.org/pypi/stevedore"; + license = licenses.asl20; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 54f1fd460472..f5df1258544a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -23763,25 +23763,7 @@ in { }; }; - stevedore = buildPythonPackage rec { - name = "stevedore-1.7.0"; - - src = pkgs.fetchurl { - url = "mirror://pypi/s/stevedore/${name}.tar.gz"; - sha256 = "149pjc0c3z6khjisn4yil3f94qjnzwafz093wc8rrzbw828qdkv8"; - }; - - doCheck = false; - - buildInputs = with self; [ oslosphinx ]; - propagatedBuildInputs = with self; [ pbr six argparse ]; - - meta = { - description = "Manage dynamic plugins for Python applications"; - homepage = "https://pypi.python.org/pypi/stevedore"; - license = licenses.asl20; - }; - }; + stevedore = callPackage ../development/python-modules/stevedore {}; Theano = self.TheanoWithoutCuda;