firefox_decrypt: refactor package definitions for by-name

firefox_decrypt: fix version tag
This commit is contained in:
Guy Chronister
2025-07-17 09:14:36 -05:00
parent 647fad66e4
commit 7d8ab6ed0e

View File

@@ -1,28 +1,25 @@
{
lib,
fetchFromGitHub,
buildPythonApplication,
setuptools,
setuptools-scm,
wheel,
nss,
nix-update-script,
stdenv,
python3Packages,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "firefox_decrypt";
version = "1.1.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "unode";
repo = pname;
tag = "${version}";
repo = "firefox_decrypt";
tag = version;
hash = "sha256-HPjOUWusPXoSwwDvW32Uad4gFERvn79ee/WxeX6h3jY=";
};
nativeBuildInputs = [
build-system = with python3Packages; [
setuptools
setuptools-scm
wheel
@@ -37,12 +34,12 @@ buildPythonApplication rec {
passthru.updateScript = nix-update-script { };
meta = with lib; {
meta = {
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; [
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
schnusch
unode
];