Files
nixpkgs/pkgs/by-name/ci/cipher/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

68 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
meson,
ninja,
vala,
pkg-config,
pantheon,
python3,
gettext,
glib,
gtk3,
libgee,
wrapGAppsHook3,
}:
stdenv.mkDerivation rec {
pname = "cipher";
version = "2.5.0";
src = fetchFromGitHub {
owner = "arshubham";
repo = "cipher";
tag = version;
sha256 = "00azc5ck17zkdypfza6x1viknwhimd9fqgk2ybff3mx6aphmla7a";
};
nativeBuildInputs = [
gettext
meson
ninja
vala
pkg-config
python3
wrapGAppsHook3
];
buildInputs = [
glib
gtk3
pantheon.granite
libgee
];
postPatch = ''
substituteInPlace data/com.github.arshubham.cipher.desktop.in \
--replace "gio" "${glib.bin}/bin/gio"
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Simple application for encoding and decoding text, designed for elementary OS";
homepage = "https://github.com/arshubham/cipher";
maintainers = with maintainers; [ xiorcale ];
teams = [ teams.pantheon ];
platforms = platforms.linux;
license = licenses.gpl3Plus;
mainProgram = "com.github.arshubham.cipher";
};
}