diff --git a/pkgs/development/python-modules/larch/default.nix b/pkgs/development/python-modules/larch/default.nix new file mode 100644 index 000000000000..74703ff5c9df --- /dev/null +++ b/pkgs/development/python-modules/larch/default.nix @@ -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 ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c5fd09aa8b07..49481eafbb40 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };