depot/third_party/nixpkgs/pkgs/development/python-modules/docopt-ng/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00: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 ];
};
}