biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / firefox_decrypt / default.nix
blob52dc4a9bd71f6d1167c801cd10145511ffa7332a
1 { lib
2 , fetchFromGitHub
3 , buildPythonApplication
4 , setuptools
5 , setuptools-scm
6 , wheel
7 , nss
8 , nix-update-script
9 , stdenv
12 buildPythonApplication rec {
13   pname = "firefox_decrypt";
14   version = "1.1.0";
15   format = "pyproject";
17   src = fetchFromGitHub {
18     owner = "unode";
19     repo = pname;
20     rev = "0931c0484d7429f7d4de3a2f5b62b01b7924b49f";
21     hash = "sha256-9HbH8DvHzmlem0XnDbcrIsMQRBuf82cHObqpLzQxNZM=";
22   };
24   nativeBuildInputs = [
25     setuptools
26     setuptools-scm
27     wheel
28   ];
30   makeWrapperArgs = [
31     "--prefix"
32     (if stdenv.hostPlatform.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH")
33     ":"
34     (lib.makeLibraryPath [ nss ])
35   ];
37   passthru.updateScript = nix-update-script { };
39   meta = with lib; {
40     homepage = "https://github.com/unode/firefox_decrypt";
41     description = "Tool to extract passwords from profiles of Mozilla Firefox and derivates";
42     mainProgram = "firefox_decrypt";
43     license = licenses.gpl3Plus;
44     maintainers = with maintainers; [ schnusch ];
45   };