pythonPackages.cogapp: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 18:57:31 +02:00 committed by Frederik Rietdijk
parent 8635a10749
commit d2829d7693
2 changed files with 22 additions and 20 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "cogapp";
version = "2.3";
src = fetchPypi {
inherit pname version;
sha256 = "0gzmzbsk54r1qa6wd0yg4zzdxvn2f19ciprr2acldxaknzrpllnn";
};
# there are no tests
doCheck = false;
meta = with stdenv.lib; {
description = "A code generator for executing Python snippets in source files";
homepage = http://nedbatchelder.com/code/cog;
license = licenses.mit;
maintainers = with maintainers; [ lovek323 ];
};
}

View File

@ -1580,26 +1580,7 @@ in {
codecov = callPackage ../development/python-modules/codecov {};
cogapp = buildPythonPackage rec {
version = "2.3";
name = "cogapp-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/c/cogapp/${name}.tar.gz";
sha256 = "0gzmzbsk54r1qa6wd0yg4zzdxvn2f19ciprr2acldxaknzrpllnn";
};
# there are no tests
doCheck = false;
meta = {
description = "A code generator for executing Python snippets in source files";
homepage = http://nedbatchelder.com/code/cog;
license = licenses.mit;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
};
cogapp = callPackage ../development/python-modules/cogapp {};
colorama = callPackage ../development/python-modules/colorama { };