Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5, future 6}: 7 8buildPythonPackage rec { 9 pname = "pysignalclirestapi"; 10 version = "0.3.18"; 11 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "bbernhard"; 16 repo = "pysignalclirestapi"; 17 rev = version; 18 hash = "sha256-BF4BmnQVfrj7f0N+TN/d7GNuDTbDQfwsCkUn2pVmMWo="; 19 }; 20 21 propagatedBuildInputs = [ 22 requests 23 future 24 ]; 25 26 # upstream has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "pysignalclirestapi" ]; 30 31 meta = with lib; { 32 description = "Small python library for the Signal Cli REST API"; 33 homepage = "https://github.com/bbernhard/pysignalclirestapi"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ dotlambda ]; 36 }; 37}