mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
26 lines
588 B
Nix
26 lines
588 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "commandparse";
|
|
version = "1.1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "06mcxc0vs5qdcywalgyx5zm18z4xcsrg5g0wsqqv5qawkrvmvl53";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|