firefox_decrypt: refactor package definitions for by-name
firefox_decrypt: fix version tag
This commit is contained in:
parent
647fad66e4
commit
7d8ab6ed0e
@ -1,28 +1,25 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
buildPythonApplication,
|
|
||||||
setuptools,
|
|
||||||
setuptools-scm,
|
|
||||||
wheel,
|
|
||||||
nss,
|
nss,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
stdenv,
|
stdenv,
|
||||||
|
python3Packages,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "firefox_decrypt";
|
pname = "firefox_decrypt";
|
||||||
version = "1.1.1";
|
version = "1.1.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "unode";
|
owner = "unode";
|
||||||
repo = pname;
|
repo = "firefox_decrypt";
|
||||||
tag = "${version}";
|
tag = version;
|
||||||
hash = "sha256-HPjOUWusPXoSwwDvW32Uad4gFERvn79ee/WxeX6h3jY=";
|
hash = "sha256-HPjOUWusPXoSwwDvW32Uad4gFERvn79ee/WxeX6h3jY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = with python3Packages; [
|
||||||
setuptools
|
setuptools
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
wheel
|
wheel
|
||||||
@ -37,12 +34,12 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://github.com/unode/firefox_decrypt";
|
homepage = "https://github.com/unode/firefox_decrypt";
|
||||||
description = "Tool to extract passwords from profiles of Mozilla Firefox and derivates";
|
description = "Tool to extract passwords from profiles of Mozilla Firefox and derivates";
|
||||||
mainProgram = "firefox_decrypt";
|
mainProgram = "firefox_decrypt";
|
||||||
license = licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
schnusch
|
schnusch
|
||||||
unode
|
unode
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user