nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 pkg-config,
6 libsecret,
7}:
8
9stdenv.mkDerivation {
10 pname = "lssecret";
11 version = "unstable-2022-12-02";
12
13 src = fetchFromGitLab {
14 owner = "GrantMoyer";
15 repo = "lssecret";
16 rev = "20fd771a678a241abbb57152e3c2d9a8eee353cb";
17 hash = "sha256-yU70WZj4EC/sFJxyq2SQ0YQ6RCQHYiW/aQiYWo7+ujk=";
18 };
19
20 nativeBuildInputs = [ pkg-config ];
21 buildInputs = [ libsecret ];
22
23 makeFlags = [ "DESTDIR=$(out)" ];
24
25 meta = {
26 description = "Tool to list passwords and other secrets stored using the org.freedesktop.secrets dbus api";
27 homepage = "https://gitlab.com/GrantMoyer/lssecret";
28 license = lib.licenses.unlicense;
29 maintainers = [ ];
30 platforms = lib.platforms.unix;
31 mainProgram = "lssecret";
32 };
33}