diff --git a/pkgs/development/python-modules/tissue/default.nix b/pkgs/development/python-modules/tissue/default.nix new file mode 100644 index 00000000000..5ed47bdd028 --- /dev/null +++ b/pkgs/development/python-modules/tissue/default.nix @@ -0,0 +1,27 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, nose +, pep8 +}: + +buildPythonPackage rec { + pname = "tissue"; + version = "0.9.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "7e34726c3ec8fae358a7faf62de172db15716f5582e5192a109e33348bd76c2e"; + }; + + buildInputs = [ nose ]; + propagatedBuildInputs = [ pep8 ]; + + meta = with stdenv.lib; { + homepage = https://github.com/WoLpH/tissue; + description = "Tissue - automated pep8 checker for nose"; + license = licenses.lgpl2; + maintainers = with maintainers; [ garbas domenkozar ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6cea55e485e..e0cdb78238f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4254,21 +4254,7 @@ in { testfixtures = callPackage ../development/python-modules/testfixtures {}; - tissue = buildPythonPackage rec { - name = "tissue-0.9.2"; - src = pkgs.fetchurl { - url = "mirror://pypi/t/tissue/${name}.tar.gz"; - sha256 = "7e34726c3ec8fae358a7faf62de172db15716f5582e5192a109e33348bd76c2e"; - }; - - buildInputs = with self; [ nose ]; - propagatedBuildInputs = with self; [ pep8 ]; - - meta = { - maintainers = with maintainers; [ garbas domenkozar ]; - platforms = platforms.all; - }; - }; + tissue = callPackage ../development/python-modules/tissue { }; titlecase = callPackage ../development/python-modules/titlecase { };