Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / path-and-address / default.nix
blob4a72431c7521ffdf723c60d86bea0e0e5e2f42d1
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytest
5 }:
7 buildPythonPackage rec {
8   version = "2.0.1";
9   format = "setuptools";
10   pname = "path-and-address";
12   src = fetchFromGitHub {
13     owner = "joeyespo";
14     repo = "path-and-address";
15     rev = "v${version}";
16     sha256 = "0b0afpsaim06mv3lhbpm8fmawcraggc11jhzr6h72kdj1cqjk5h6";
17   };
19   nativeCheckInputs = [ pytest ];
21   checkPhase = ''
22     py.test
23   '';
25   meta = with lib; {
26     description = "Functions for server CLI applications used by humans";
27     homepage = "https://github.com/joeyespo/path-and-address";
28     license = licenses.mit;
29     maintainers = with maintainers; [ koral];
30   };