Files
nixpkgs/pkgs/development/python-modules/docopt-ng/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

31 lines
670 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 = {
description = "More-magic command line arguments parser. Now with more maintenance";
homepage = "https://github.com/bazaar-projects/docopt-ng";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fgaz ];
};
}