Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
772 B · 34 lines
Nix
1234567891011121314151617181920212223242526272829303132333435{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook,}:
buildPythonPackage rec { pname = "cogapp"; version = "3.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "nedbat"; repo = "cog"; tag = "v${version}"; hash = "sha256-jmHAHBzUw8VLCudT8slisCJ7yOUTVrrLiUbEiiTcfew="; };
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 ]; };}