diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-05 15:03:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-05 15:03:11 +0000 |
commit | fcfc145158f2d7190f90fb96d914b020713ff498 (patch) | |
tree | 95d4661901f2658926ad0607151b5feb50113a2b | |
parent | b16998f51e7bc07ddc4685b697316d706326f918 (diff) | |
parent | 10b433ecffa2330df253da4e23db188071a694da (diff) | |
download | nixpkgs-fcfc145158f2d7190f90fb96d914b020713ff498.tar nixpkgs-fcfc145158f2d7190f90fb96d914b020713ff498.tar.gz nixpkgs-fcfc145158f2d7190f90fb96d914b020713ff498.tar.bz2 nixpkgs-fcfc145158f2d7190f90fb96d914b020713ff498.tar.lz nixpkgs-fcfc145158f2d7190f90fb96d914b020713ff498.tar.xz nixpkgs-fcfc145158f2d7190f90fb96d914b020713ff498.tar.zst nixpkgs-fcfc145158f2d7190f90fb96d914b020713ff498.zip |
Merge pull request #70386 from Kjuvi/cipher
cipher: init at 2.0.0
-rw-r--r-- | pkgs/applications/misc/cipher/default.nix | 57 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 59 insertions, 0 deletions
diff --git a/pkgs/applications/misc/cipher/default.nix b/pkgs/applications/misc/cipher/default.nix new file mode 100644 index 00000000000..51095e8e58e --- /dev/null +++ b/pkgs/applications/misc/cipher/default.nix @@ -0,0 +1,57 @@ +{ stdenv +, fetchFromGitHub +, meson +, ninja +, pkgconfig +, pantheon +, python3 +, gettext +, glib +, gtk3 +, libgee +, xdg_utils +, wrapGAppsHook }: + +stdenv.mkDerivation rec { + pname = "cipher"; + version = "2.0.0"; + + src = fetchFromGitHub { + owner = "arshubham"; + repo = "cipher"; + rev = version; + sha256 = "0n5aigcyxnl4k52mdmavbxx6afc1ixymn3k3l2ryhyzi5q31x0x3"; + }; + + nativeBuildInputs = [ + gettext + meson + ninja + pantheon.vala + pkgconfig + python3 + wrapGAppsHook + ]; + + buildInputs = [ + glib + gtk3 + pantheon.granite + libgee + ]; + + 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 + ''; + + meta = with stdenv.lib; { + description = "A simple application for encoding and decoding text, designed for elementary OS"; + homepage = "https://github.com/arshubham/cipher"; + maintainers = with maintainers; [ kjuvi ] ++ pantheon.maintainers; + platforms = platforms.linux; + license = licenses.gpl3Plus; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f23a3f8e155..aced699a041 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17734,6 +17734,8 @@ in cinelerra = callPackage ../applications/video/cinelerra { }; + cipher = callPackage ../applications/misc/cipher { }; + claws-mail = callPackage ../applications/networking/mailreaders/claws-mail { inherit (xorg) libSM; }; |