159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
41 lines
847 B
Nix
41 lines
847 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
aiohttp,
|
|
pytz,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stookwijzer";
|
|
version = "1.4.9";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fwestenberg";
|
|
repo = "stookwijzer";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-QXCusmbt40Tg73ozl9nIDgMtQJ152uNhOuFyHn+OEA8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
pytz
|
|
];
|
|
|
|
pythonImportsCheck = [ "stookwijzer" ];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/fwestenberg/stookwijzer/releases/tag/v${version}";
|
|
description = "Python package for the Stookwijzer API";
|
|
homepage = "https://github.com/fwestenberg/stookwijzer";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|