depot/third_party/nixpkgs/pkgs/development/python-modules/commandparse/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

32 lines
666 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "commandparse";
version = "1.1.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-S9e90BtS6qMjFtYUmgC0w4IKQP8q1iR2tGqq5l2+n6o=";
};
# tests only distributed upstream source, not PyPi
doCheck = false;
pythonImportsCheck = [
"commandparse"
];
meta = with lib; {
description = "Python module to parse command based CLI application";
homepage = "https://github.com/flgy/commandparse";
license = with licenses; [ mit ];
maintainers = [ maintainers.fab ];
};
}