Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
810 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, hatch-vcs, hatchling, pytestCheckHook,}:
buildPythonPackage rec { pname = "apipkg"; version = "3.0.2"; pyproject = true;
src = fetchFromGitHub { owner = "pytest-dev"; repo = "apipkg"; tag = "v${version}"; hash = "sha256-ANLD7fUMKN3RmAVjVkcpwUH6U9ASalXdwKtPpoC8Urs="; };
build-system = [ hatch-vcs hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "test_apipkg.py" ];
pythonImportsCheck = [ "apipkg" ];
meta = with lib; { changelog = "https://github.com/pytest-dev/apipkg/blob/main/CHANGELOG"; description = "Namespace control and lazy-import mechanism"; homepage = "https://github.com/pytest-dev/apipkg"; license = licenses.mit; maintainers = [ ]; };}