pythonPackages.cliapp: refactor move to python-modules
This commit is contained in:
parent
63183f8b76
commit
8dded34d8c
31
pkgs/development/python-modules/cliapp/default.nix
Normal file
31
pkgs/development/python-modules/cliapp/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchgit
|
||||||
|
, sphinx
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cliapp";
|
||||||
|
version = "1.20150305";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cliapp";
|
||||||
|
rev = "569df8a5959cd8ef46f78c9497461240a5aa1123";
|
||||||
|
sha256 = "882c5daf933e4cf089842995efc721e54361d98f64e0a075e7373b734cd899f3";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ sphinx ];
|
||||||
|
|
||||||
|
# error: invalid command 'test'
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://liw.fi/cliapp/;
|
||||||
|
description = "Python framework for Unix command line programs";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ rickynils ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4223,28 +4223,7 @@ in {
|
|||||||
|
|
||||||
hgsvn = callPackage ../development/python-modules/hgsvn { };
|
hgsvn = callPackage ../development/python-modules/hgsvn { };
|
||||||
|
|
||||||
cliapp = buildPythonPackage rec {
|
cliapp = callPackage ../development/python-modules/cliapp { };
|
||||||
name = "cliapp-${version}";
|
|
||||||
version = "1.20150305";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchgit {
|
|
||||||
url = "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cliapp";
|
|
||||||
rev = "569df8a5959cd8ef46f78c9497461240a5aa1123";
|
|
||||||
sha256 = "882c5daf933e4cf089842995efc721e54361d98f64e0a075e7373b734cd899f3";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ sphinx ];
|
|
||||||
|
|
||||||
# error: invalid command 'test'
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://liw.fi/cliapp/;
|
|
||||||
description = "Python framework for Unix command line programs";
|
|
||||||
maintainers = with maintainers; [ rickynils ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cmdtest = buildPythonPackage rec {
|
cmdtest = buildPythonPackage rec {
|
||||||
name = "cmdtest-${version}";
|
name = "cmdtest-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user