pythonPackages.twiggy: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-28 11:55:48 -04:00
parent 3a9d15d951
commit 0f6fdbf26e
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 20 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "Twiggy";
version = "0.4.5";
src = fetchPypi {
inherit pname version;
sha256 = "4e8f1894e5aee522db6cb245ccbfde3c5d1aa08d31330c7e3af783b0e66eec23";
};
doCheck = false;
meta = with stdenv.lib; {
homepage = http://twiggy.wearpants.org;
# Taken from http://i.wearpants.org/blog/meet-twiggy/
description = "Twiggy is the first totally new design for a logger since log4j";
license = licenses.bsd3;
maintainers = with maintainers; [ pierron ];
};
}

View file

@ -4007,26 +4007,7 @@ in {
tweepy = callPackage ../development/python-modules/tweepy { };
twiggy = buildPythonPackage rec {
name = "Twiggy-${version}";
version = "0.4.5";
src = pkgs.fetchurl {
url = "mirror://pypi/T/Twiggy/Twiggy-0.4.5.tar.gz";
sha256 = "4e8f1894e5aee522db6cb245ccbfde3c5d1aa08d31330c7e3af783b0e66eec23";
};
doCheck = false;
meta = {
homepage = http://twiggy.wearpants.org;
# Taken from http://i.wearpants.org/blog/meet-twiggy/
description = "Twiggy is the first totally new design for a logger since log4j";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ pierron ];
};
};
twiggy = callPackage ../development/python-modules/twiggy { };
twill = callPackage ../development/python-modules/twill { };