841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
33 lines
722 B
Nix
33 lines
722 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyrituals";
|
|
version = "0.0.4";
|
|
format = "pyproject";
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "milanmeu";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-XJoSKGGwLoHMWxPGfXHeLg8VlIH1/j0ktzWe/pjd//0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "pyrituals" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python wrapper for the Rituals Perfume Genie API";
|
|
homepage = "https://github.com/milanmeu/pyrituals";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|