mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
ff1a94e523
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.
47 lines
1006 B
Nix
47 lines
1006 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 = "A tool to extract passwords from profiles of Mozilla Firefox and derivates";
|
|
mainProgram = "firefox_decrypt";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ schnusch ];
|
|
};
|
|
}
|