mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
pythonPackages.twiggy: refactor move to python-modules
This commit is contained in:
parent
3a9d15d951
commit
0f6fdbf26e
25
pkgs/development/python-modules/twiggy/default.nix
Normal file
25
pkgs/development/python-modules/twiggy/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue