1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "cogapp";
10 version = "3.4.1";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-qAbV254xihotP86YgAgXkWjn2xPl5VsZt5dj+budKYI=";
16 };
17
18 nativeBuildInputs = [ setuptools ];
19
20 # there are no tests
21 doCheck = false;
22
23 meta = with lib; {
24 description = "Code generator for executing Python snippets in source files";
25 homepage = "https://nedbatchelder.com/code/cog";
26 license = licenses.mit;
27 maintainers = with maintainers; [ lovek323 ];
28 };
29}