567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
36 lines
682 B
Nix
36 lines
682 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
lxml,
|
|
pycryptodome,
|
|
colorama,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "libkeepass";
|
|
version = "0.3.1.post1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0pwg7n9xqcjia1qmz6g48h5s31slh3mxmcqag73gq4zhl4xb6bai";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
lxml
|
|
pycryptodome
|
|
colorama
|
|
];
|
|
|
|
# No tests on PyPI
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/libkeepass/libkeepass";
|
|
description = "Library to access KeePass 1.x/KeePassX (v3) and KeePass 2.x (v4) files";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ jqueiroz ];
|
|
};
|
|
}
|