Files
nixpkgs/pkgs/by-name/pa/parsify/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

38 lines
1.0 KiB
Nix

{
lib,
appimageTools,
fetchurl,
}:
appimageTools.wrapType2 rec {
pname = "parsify";
version = "2.0.1";
src = fetchurl {
url = "https://github.com/parsify-dev/desktop/releases/download/v${version}/Parsify-${version}-linux-x86_64.AppImage";
hash = "sha256-ltWqRW+cBvuUJzhya62WsBY5zqIua9xhilxfd9gr24A=";
};
extraInstallCommands =
let
contents = appimageTools.extract { inherit pname version src; };
in
''
install -m 444 -D ${contents}/@parsifydesktop.desktop -t $out/share/applications
substituteInPlace $out/share/applications/@parsifydesktop.desktop \
--replace "Exec=AppRun" "Exec=${pname}"
cp -r ${contents}/usr/share/* $out/share
'';
meta = with lib; {
description = "Next generation notepad-based calculator, built with extendibility and privacy in mind";
homepage = "https://parsify.app/";
license = licenses.unfree;
maintainers = with maintainers; [ kashw2 ];
platforms = platforms.linux;
mainProgram = "parsify";
};
}