nixpkgs/pkgs/tools/security/firefox_decrypt/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

46 lines
1,004 B
Nix

{ lib
, fetchFromGitHub
, buildPythonApplication
, setuptools
, setuptools-scm
, wheel
, nss
, nix-update-script
, stdenv
}:
buildPythonApplication rec {
pname = "firefox_decrypt";
version = "1.1.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "unode";
repo = pname;
rev = "0931c0484d7429f7d4de3a2f5b62b01b7924b49f";
hash = "sha256-9HbH8DvHzmlem0XnDbcrIsMQRBuf82cHObqpLzQxNZM=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
makeWrapperArgs = [
"--prefix"
(if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH")
":"
(lib.makeLibraryPath [ nss ])
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://github.com/unode/firefox_decrypt";
description = "Tool to extract passwords from profiles of Mozilla Firefox and derivates";
mainProgram = "firefox_decrypt";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ schnusch ];
};
}