blob: 76b48aec073f2dbe701eaa48067d030aeff6b341 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cogapp";
version = "3.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "nedbat";
repo = "cog";
tag = "v${version}";
hash = "sha256-tUFqvG1SzoMc/cWAIOpNaf161KbRqscjNnxThg9slu8=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "cogapp" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Code generator for executing Python snippets in source files";
homepage = "https://nedbatchelder.com/code/cog";
changelog = "https://github.com/nedbat/cog/blob/v${version}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lovek323 ];
};
}
|