pyzotero-cli
This commit is contained in:
42
pkgs/pyzotero-cli/default.nix
Normal file
42
pkgs/pyzotero-cli/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchPypi,
|
||||
pyzotero,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pyzotero-cli";
|
||||
version = "0.1.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pyzotero_cli";
|
||||
inherit version;
|
||||
hash = "sha256-qQdH4takRxu20bgYuOKgzn65fEplKP0GqVaD3PLH+5w=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pyzotero
|
||||
] ++ (with python3Packages; [
|
||||
click
|
||||
pyyaml
|
||||
tabulate
|
||||
python-dotenv
|
||||
pytest
|
||||
]);
|
||||
|
||||
pythonImportsCheck = [ "pyzotero_cli" ];
|
||||
|
||||
meta = {
|
||||
description = "CLI wrapper for pyzotero - use Zotero from the command line";
|
||||
homepage = "https://github.com/chriscarrollsmith/pyzotero-cli";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "zot";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user