Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 authlib, 6 httpx, 7}: 8 9buildPythonPackage rec { 10 pname = "pypoint"; 11 version = "2.3.2"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "fredrike"; 16 repo = "pypoint"; 17 rev = "v${version}"; 18 hash = "sha256-tQ5rQs6ECn9O9dVXKWhmy9BBpOzgqSmwpmbIRbJn2CQ="; 19 }; 20 21 propagatedBuildInputs = [ 22 authlib 23 httpx 24 ]; 25 26 # upstream has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "pypoint" ]; 30 31 meta = with lib; { 32 description = "Python module for communicating with Minut Point"; 33 homepage = "https://github.com/fredrike/pypoint"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ dotlambda ]; 36 }; 37}