nixpkgs-suyu/pkgs/development/python-modules/docopt-ng/default.nix
2023-09-27 15:33:30 +02:00

31 lines
673 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pdm-backend
}:
buildPythonPackage rec {
pname = "docopt-ng";
version = "0.9.0";
format = "pyproject";
src = fetchPypi {
pname = "docopt_ng";
inherit version;
hash = "sha256-kcbaELW7by6eJTRYKfuCeMeK8Bn2/ECIetSbBgSDsdc=";
};
nativeBuildInputs = [
pdm-backend
];
pythonImportsCheck = [ "docopt" ];
doCheck = false; # no tests in the package
meta = with lib; {
description = "More-magic command line arguments parser. Now with more maintenance!";
homepage = "https://github.com/bazaar-projects/docopt-ng";
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
};
}