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