nagiosPlugins.check_ssl_cert: 2.85.1 -> 2.86.0 (#379244)
[NixPkgs.git] / pkgs / by-name / ci / cipher / package.nix
blobb93049e9d4d218bd458bf8da4cedf3788674ac2d
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   nix-update-script,
6   meson,
7   ninja,
8   vala,
9   pkg-config,
10   pantheon,
11   python3,
12   gettext,
13   glib,
14   gtk3,
15   libgee,
16   wrapGAppsHook3,
19 stdenv.mkDerivation rec {
20   pname = "cipher";
21   version = "2.5.0";
23   src = fetchFromGitHub {
24     owner = "arshubham";
25     repo = "cipher";
26     rev = version;
27     sha256 = "00azc5ck17zkdypfza6x1viknwhimd9fqgk2ybff3mx6aphmla7a";
28   };
30   nativeBuildInputs = [
31     gettext
32     meson
33     ninja
34     vala
35     pkg-config
36     python3
37     wrapGAppsHook3
38   ];
40   buildInputs = [
41     glib
42     gtk3
43     pantheon.granite
44     libgee
45   ];
47   postPatch = ''
48     substituteInPlace data/com.github.arshubham.cipher.desktop.in \
49       --replace "gio" "${glib.bin}/bin/gio"
50     chmod +x meson/post_install.py
51     patchShebangs meson/post_install.py
52   '';
54   passthru = {
55     updateScript = nix-update-script { };
56   };
58   meta = with lib; {
59     description = "Simple application for encoding and decoding text, designed for elementary OS";
60     homepage = "https://github.com/arshubham/cipher";
61     maintainers = with maintainers; [ xiorcale ] ++ teams.pantheon.members;
62     platforms = platforms.linux;
63     license = licenses.gpl3Plus;
64     mainProgram = "com.github.arshubham.cipher";
65   };