1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pyrituals"; 12 version = "0.0.6"; 13 format = "pyproject"; 14 disabled = pythonOlder "3.8"; 15 16 src = fetchFromGitHub { 17 owner = "milanmeu"; 18 repo = pname; 19 rev = version; 20 sha256 = "0ynjz7khp67bwxjp580w3zijxr9yn44nmnbvkxjxq9scyb2mjf6g"; 21 }; 22 23 nativeBuildInputs = [ setuptools ]; 24 25 propagatedBuildInputs = [ aiohttp ]; 26 27 # Project has no tests 28 doCheck = false; 29 pythonImportsCheck = [ "pyrituals" ]; 30 31 meta = with lib; { 32 description = "Python wrapper for the Rituals Perfume Genie API"; 33 homepage = "https://github.com/milanmeu/pyrituals"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}