pythonPackages.larch: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 11:24:54 -04:00
parent 9e52a73527
commit 9041374d64
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 33 additions and 22 deletions

View File

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchurl
, sphinx
, tracing
, ttystatus
, cliapp
}:
buildPythonPackage rec {
pname = "larch";
version = "1.20131130";
src = fetchurl {
url = "http://code.liw.fi/debian/pool/main/p/python-larch/python-larch_${version}.orig.tar.gz";
sha256 = "1hfanp9l6yc5348i3f5sb8c5s4r43y382hflnbl6cnz4pm8yh5r7";
};
buildInputs = [ sphinx ];
propagatedBuildInputs = [ tracing ttystatus cliapp ];
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
homepage = http://liw.fi/larch/;
description = "Python B-tree library";
license = licenses.gpl3;
maintainers = with maintainers; [ rickynils ];
};
}

View File

@ -4264,28 +4264,7 @@ in {
ttystatus = callPackage ../development/python-modules/ttystatus { };
larch = buildPythonPackage rec {
name = "larch-${version}";
version = "1.20131130";
src = pkgs.fetchurl rec {
url = "http://code.liw.fi/debian/pool/main/p/python-larch/python-larch_${version}.orig.tar.gz";
sha256 = "1hfanp9l6yc5348i3f5sb8c5s4r43y382hflnbl6cnz4pm8yh5r7";
};
buildInputs = with self; [ sphinx ];
propagatedBuildInputs = with self; [ tracing ttystatus cliapp ];
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = http://liw.fi/larch/;
description = "Python B-tree library";
maintainers = with maintainers; [ rickynils ];
};
};
larch = callPackage ../development/python-modules/larch { };
websocket_client = callPackage ../development/python-modules/websockets_client { };