1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

cipher: 2.0.0 -> 2.5.0

This commit is contained in:
kjuvi 2019-12-23 10:39:48 +01:00
parent 8b21b3a42e
commit 25fb2b68a9

View file

@ -10,18 +10,17 @@
, glib
, gtk3
, libgee
, xdg_utils
, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "cipher";
version = "2.0.0";
version = "2.5.0";
src = fetchFromGitHub {
owner = "arshubham";
repo = "cipher";
rev = version;
sha256 = "0n5aigcyxnl4k52mdmavbxx6afc1ixymn3k3l2ryhyzi5q31x0x3";
sha256 = "00azc5ck17zkdypfza6x1viknwhimd9fqgk2ybff3mx6aphmla7a";
};
nativeBuildInputs = [
@ -42,10 +41,10 @@ stdenv.mkDerivation rec {
];
postPatch = ''
substituteInPlace data/com.github.arshubham.cipher.desktop.in \
--replace xdg-open ${xdg_utils}/bin/xdg-open
chmod +x post_install.py
patchShebangs post_install.py
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 = {