16 buildPythonPackage rec {
17 pname = "pdm-backend";
21 src = fetchFromGitHub {
22 owner = "pdm-project";
24 rev = "refs/tags/${version}";
25 hash = "sha256-d8i+FvxNFPM18W7NmOwh9bqZnMUenF7eCPdcCw4BT7s=";
28 env.PDM_BUILD_SCM_VERSION = version;
30 propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
34 pythonImportsCheck = [
46 unset PDM_BUILD_SCM_VERSION
49 setupHook = ./setup-hook.sh;
52 homepage = "https://github.com/pdm-project/pdm-backend";
53 changelog = "https://github.com/pdm-project/pdm-backend/releases/tag/${version}";
54 description = "Yet another PEP 517 backend.";
55 license = licenses.mit;
56 maintainers = with maintainers; [ hexa ];