about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cogapp
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2018-03-31 18:57:31 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-04-04 19:45:59 +0200
commitd2829d7693586f492e7fcd925b526357e626b8b3 (patch)
treeba187828df24158a464fd22cfb60e6f15ece793a /pkgs/development/python-modules/cogapp
parent8635a1074935e2b58668fbed04a26dd33dce2bac (diff)
pythonPackages.cogapp: Move to own file
Diffstat (limited to 'pkgs/development/python-modules/cogapp')
-rw-r--r--pkgs/development/python-modules/cogapp/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cogapp/default.nix b/pkgs/development/python-modules/cogapp/default.nix
new file mode 100644
index 0000000000000..5f70437ec4fb4
--- /dev/null
+++ b/pkgs/development/python-modules/cogapp/default.nix
@@ -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 ];
+  };
+}