Files
my-pkgs/pkgs/pyzotero/default.nix

39 lines
712 B
Nix

{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonPackage rec {
pname = "pyzotero";
version = "1.6.11";
pyproject = true;
src = fetchPypi {
pname = "pyzotero";
inherit version;
hash = "sha256-l3P6k4+IrTFX2BJblBjpvY8nIzldDR8DT3QaQ+BzV3Q=";
};
build-system = with python3Packages; [
setuptools
setuptools-scm
];
dependencies = with python3Packages; [
feedparser
bibtexparser
pytz
httpx
];
pythonImportsCheck = [ "pyzotero" ];
meta = {
description = "Python API client for the Zotero API";
homepage = "https://github.com/urschrei/pyzotero";
license = lib.licenses.blueOak100;
platforms = lib.platforms.all;
};
}