mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
python310Packages.pdm-backend: init at 2.0.2
The successor to pdm-pep517. https://github.com/pdm-project/pdm-backend/releases/tag/2.0.0 https://github.com/pdm-project/pdm-backend/releases/tag/2.0.1 https://github.com/pdm-project/pdm-backend/releases/tag/2.0.2
This commit is contained in:
parent
cf5938f4a6
commit
487342f0e1
50
pkgs/development/python-modules/pdm-backend/default.nix
Normal file
50
pkgs/development/python-modules/pdm-backend/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
|
||||
# propagates
|
||||
, importlib-metadata
|
||||
|
||||
# tests
|
||||
, editables
|
||||
, git
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pdm-backend";
|
||||
version = "2.0.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pdm-project";
|
||||
repo = "pdm-backend";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-3Wgc4kKQcE2FzfcqTs9jtfJ1Oj+qtHiDM4q8KuMNAak=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pdm.backend"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
editables
|
||||
git
|
||||
pytestCheckHook
|
||||
setuptools
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pdm-project/pdm-backend";
|
||||
changelog = "https://github.com/pdm-project/pdm-backend/releases/tag/${version}";
|
||||
description = "Yet another PEP 517 backend.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -7036,6 +7036,8 @@ self: super: with self; {
|
||||
|
||||
pdfx = callPackage ../development/python-modules/pdfx { };
|
||||
|
||||
pdm-backend = callPackage ../development/python-modules/pdm-backend { };
|
||||
|
||||
pdm-pep517 = callPackage ../development/python-modules/pdm-pep517 { };
|
||||
|
||||
pdoc = callPackage ../development/python-modules/pdoc { };
|
||||
|
Loading…
Reference in New Issue
Block a user