Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / commandlines / default.nix
blobd5eeadcf86dee19fc62ed3f7fa524080f1405b51
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "commandlines";
9   version = "0.4.1";
10   format = "setuptools";
12   # PyPI source tarballs omit tests, fetch from Github instead
13   src = fetchFromGitHub {
14     owner = "chrissimpkins";
15     repo = "commandlines";
16     rev = "v${version}";
17     hash = "sha256-x3iUeOTAaTKNW5Y5foMPMJcWVxu52uYZoY3Hhe3UvQ4=";
18   };
20   doCheck = true;
21   nativeCheckInputs = [
22     pytestCheckHook
23   ];
25   meta = with lib; {
26     description = "Python library for command line argument parsing";
27     homepage = "https://github.com/chrissimpkins/commandlines";
28     license = licenses.mit;
29     maintainers = with maintainers; [ danc86 ];
30   };