pythonPackages.ttystatus: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 11:23:09 -04:00
parent 7ab3b62486
commit 9e52a73527
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
3 changed files with 32 additions and 22 deletions

View File

@ -21,7 +21,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
homepage = http://liw.fi/tracing/;
description = "Python debug logging helper";
license = licenses.gpl30;
license = licenses.gpl3;
maintainers = with maintainers; [ rickynils ];
};

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchurl
, sphinx
, isPy3k
}:
buildPythonPackage rec {
pname = "ttystatus";
version = "0.23";
disabled = isPy3k;
src = fetchurl {
url = "http://code.liw.fi/debian/pool/main/p/python-ttystatus/python-ttystatus_${version}.orig.tar.gz";
sha256 = "0ymimviyjyh2iizqilg88g4p26f5vpq1zm3cvg7dr7q4y3gmik8y";
};
buildInputs = [ sphinx ];
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
homepage = http://liw.fi/ttystatus/;
description = "Progress and status updates on terminals for Python";
license = licenses.gpl3;
maintainers = with maintainers; [ rickynils ];
};
}

View File

@ -4262,27 +4262,7 @@ in {
translationstring = callPackage ../development/python-modules/translationstring { };
ttystatus = buildPythonPackage rec {
name = "ttystatus-${version}";
version = "0.23";
disabled = isPy3k;
src = pkgs.fetchurl rec {
url = "http://code.liw.fi/debian/pool/main/p/python-ttystatus/python-ttystatus_${version}.orig.tar.gz";
sha256 = "0ymimviyjyh2iizqilg88g4p26f5vpq1zm3cvg7dr7q4y3gmik8y";
};
buildInputs = with self; [ sphinx ];
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = http://liw.fi/ttystatus/;
description = "Progress and status updates on terminals for Python";
maintainers = with maintainers; [ rickynils ];
};
};
ttystatus = callPackage ../development/python-modules/ttystatus { };
larch = buildPythonPackage rec {
name = "larch-${version}";