nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "commandparse";
9 version = "1.1.2";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-S9e90BtS6qMjFtYUmgC0w4IKQP8q1iR2tGqq5l2+n6o=";
15 };
16
17 # tests only distributed upstream source, not PyPi
18 doCheck = false;
19
20 pythonImportsCheck = [ "commandparse" ];
21
22 meta = {
23 description = "Python module to parse command based CLI application";
24 homepage = "https://github.com/flgy/commandparse";
25 license = with lib.licenses; [ mit ];
26 maintainers = [ lib.maintainers.fab ];
27 };
28}