python.pkgs.sarge: move to a separate file

This commit is contained in:
Nikolay Amiantov 2018-02-25 20:23:44 +03:00
parent 674c3d20fc
commit cc6dff3be4
2 changed files with 19 additions and 17 deletions

View File

@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchurl }:
buildPythonPackage rec {
name = "sarge-${version}";
version = "0.1.4";
src = fetchurl {
url = "mirror://pypi/s/sarge/${name}.tar.gz";
sha256 = "08s8896973bz1gg0pkr592w6g4p6v47bkfvws5i91p9xf8b35yar";
};
meta = with lib; {
homepage = http://sarge.readthedocs.org/;
description = "A wrapper for subprocess which provides command pipeline functionality";
license = licenses.bsd3;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@ -6414,23 +6414,7 @@ in {
doCheck = false;
};
sarge = buildPythonPackage rec {
name = "sarge-${version}";
version = "0.1.4";
src = pkgs.fetchurl {
url = "mirror://pypi/s/sarge/${name}.tar.gz";
sha256 = "08s8896973bz1gg0pkr592w6g4p6v47bkfvws5i91p9xf8b35yar";
};
meta = {
homepage = "http://sarge.readthedocs.org/";
description = "A wrapper for subprocess which provides command pipeline functionality";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ abbradar ];
};
};
sarge = callPackage ../development/python-modules/sarge { };
subliminal = callPackage ../development/python-modules/subliminal {};