diff --git a/pkgs/development/python-modules/proboscis/default.nix b/pkgs/development/python-modules/proboscis/default.nix new file mode 100644 index 000000000000..f2373e4702f9 --- /dev/null +++ b/pkgs/development/python-modules/proboscis/default.nix @@ -0,0 +1,21 @@ +{ stdenv, buildPythonPackage, fetchPypi, nose }: + +buildPythonPackage rec { + pname = "proboscis"; + version = "1.2.6.0"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "b822b243a7c82030fce0de97bdc432345941306d2c24ef227ca561dd019cd238"; + }; + + propagatedBuildInputs = [ nose ]; + doCheck = false; + + meta = with stdenv.lib; { + description = "A Python test framework that extends Python's built-in unittest module and Nose with features from TestNG"; + homepage = https://pypi.python.org/pypi/proboscis; + license = licenses.asl20; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index aa7417663159..9c80f91421a6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1623,23 +1623,7 @@ in { rarfile = callPackage ../development/python-modules/rarfile { inherit (pkgs) libarchive; }; - proboscis = buildPythonPackage rec { - name = "proboscis-1.2.6.0"; - - src = pkgs.fetchurl { - url = "mirror://pypi/p/proboscis/proboscis-1.2.6.0.tar.gz"; - sha256 = "b822b243a7c82030fce0de97bdc432345941306d2c24ef227ca561dd019cd238"; - }; - - propagatedBuildInputs = with self; [ nose ]; - doCheck = false; - - meta = { - description = "A Python test framework that extends Python's built-in unittest module and Nose with features from TestNG"; - homepage = https://github.com/rackspace/python-proboscis; - license = licenses.asl20; - }; - }; + proboscis = callPackage ../development/python-modules/proboscis {}; pyechonest = self.buildPythonPackage rec { name = "pyechonest-8.0.2";