depot/third_party/nixpkgs/pkgs/tools/security/firefox_decrypt/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

39 lines
891 B
Nix

{ lib
, fetchFromGitHub
, buildPythonApplication
, setuptools
, setuptools-scm
, wheel
, nss
, nix-update-script
}:
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" "LD_LIBRARY_PATH" ":" (lib.makeLibraryPath [ nss ]) ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://github.com/unode/firefox_decrypt";
description = "A tool to extract passwords from profiles of Mozilla Firefox and derivates";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ schnusch ];
};
}