1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytest,
6}:
7
8buildPythonPackage rec {
9 version = "2.0.1";
10 format = "setuptools";
11 pname = "path-and-address";
12
13 src = fetchFromGitHub {
14 owner = "joeyespo";
15 repo = "path-and-address";
16 rev = "v${version}";
17 sha256 = "0b0afpsaim06mv3lhbpm8fmawcraggc11jhzr6h72kdj1cqjk5h6";
18 };
19
20 nativeCheckInputs = [ pytest ];
21
22 checkPhase = ''
23 py.test
24 '';
25
26 meta = with lib; {
27 description = "Functions for server CLI applications used by humans";
28 homepage = "https://github.com/joeyespo/path-and-address";
29 license = licenses.mit;
30 maintainers = with maintainers; [ koral ];
31 };
32}