mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
commit
8ce02fe9bc
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user