2021-08-22 07:53:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2023-11-16 04:20:00 +00:00
|
|
|
, pdm-backend
|
2021-08-22 07:53:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "docopt-ng";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.9.0";
|
|
|
|
format = "pyproject";
|
2021-08-22 07:53:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-11-16 04:20:00 +00:00
|
|
|
pname = "docopt_ng";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-kcbaELW7by6eJTRYKfuCeMeK8Bn2/ECIetSbBgSDsdc=";
|
2021-08-22 07:53:02 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pdm-backend
|
|
|
|
];
|
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|