Merge pull request #76239 from kjuvi/cipher

cipher: 2.0.0 -> 2.5.0
This commit is contained in:
worldofpeace 2019-12-23 14:01:47 -05:00 committed by GitHub
commit 8ce02fe9bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = {