pythonPackages.tissue: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 11:14:55 -04:00
parent 5027902691
commit 68a085584a
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 28 additions and 15 deletions

View File

@ -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 ];
};
}

View File

@ -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 { };