Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5, pythonOlder 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "justnimbus"; 11 version = "0.6.0"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "kvanzuijlen"; 18 repo = pname; 19 rev = version; 20 hash = "sha256-uQ5Nc5sxqHeAuavyfX4Q6Umsd54aileJjFwOOU6X7Yg="; 21 }; 22 23 nativeBuildInputs = [ 24 poetry-core 25 ]; 26 27 propagatedBuildInputs = [ 28 requests 29 ]; 30 31 # Module has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "justnimbus" 36 ]; 37 38 meta = with lib; { 39 description = "Library for the JustNimbus API"; 40 homepage = "https://github.com/kvanzuijlen/justnimbus"; 41 license = licenses.asl20; 42 maintainers = with maintainers; [ fab ]; 43 }; 44} 45