nixpkgs/pkgs/tools/security/pass2csv/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

36 lines
711 B
Nix

{ buildPythonApplication
, fetchPypi
, lib
, python-gnupg
, setuptools
}:
buildPythonApplication rec {
pname = "pass2csv";
version = "1.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-p7r+zDakKy/N+RbxAfGatvkYCDKRh5T3owoYUrHJ5N0=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
python-gnupg
];
# Project has no tests.
doCheck = false;
meta = with lib; {
description = "Export pass(1), \"the standard unix password manager\", to CSV";
mainProgram = "pass2csv";
homepage = "https://github.com/reinefjord/pass2csv";
license = licenses.mit;
maintainers = with maintainers; [ wolfangaukang ];
};
}