ebc2389134
diff of `jq <packages.json 'to_entries[]|"\(.key) \(.value.meta.changelog)"' -r`: https://gist.github.com/pbsds/49b2e2ae5c9b967a0972bbc3c2597c12
41 lines
952 B
Nix
41 lines
952 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchFromGitHub,
|
|
pdm-backend,
|
|
packaging,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dep-logic";
|
|
version = "0.4.4";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pdm-project";
|
|
repo = "dep-logic";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-7w5yN+3/u7mcGwBZAgTc/HHpZGyVZzSTWktmmcVSqpA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pdm-backend ];
|
|
|
|
propagatedBuildInputs = [ packaging ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "dep_logic" ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/pdm-project/dep-logic/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
|
|
description = "Python dependency specifications supporting logical operations";
|
|
homepage = "https://github.com/pdm-project/dep-logic";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ tomasajt ];
|
|
};
|
|
}
|