Files
nixpkgs/pkgs/development/python-modules/cogapp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
772 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}