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>
38 lines
678 B
Nix
38 lines
678 B
Nix
{
|
|
buildPythonApplication,
|
|
fetchPypi,
|
|
lib,
|
|
python-gnupg,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "pass2csv";
|
|
version = "1.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-IdcSwQ9O2HmCvT8p4tC7e2GQuhkE3kvMINszZH970og=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
python-gnupg
|
|
];
|
|
|
|
# Project has no tests.
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Export pass(1), \"Standard unix password manager\", to CSV";
|
|
mainProgram = "pass2csv";
|
|
homepage = "https://codeberg.org/svartstare/pass2csv";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|