mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
34 lines
723 B
Nix
34 lines
723 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyrituals";
|
|
version = "0.0.2";
|
|
format = "pyproject";
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "milanmeu";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0hrwhk3kpvdg78fgnvhmnnh3wprdv10j8jqjm4ly64chr8cdi6f2";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|