diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-08-20 16:31:18 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-01-24 20:54:14 +0000 |
commit | 78da8d668b51b10d12285483a661307e1d3052eb (patch) | |
tree | f24edb95d698d3c240dd1359a0957ec776b94912 /pkgs/desktops/pantheon/services/cerbere/default.nix | |
parent | 2530372351fb7c65df1e209356c5eabf5a66fa9e (diff) | |
download | nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.gz nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.bz2 nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.lz nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.xz nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.tar.zst nixpkgs-78da8d668b51b10d12285483a661307e1d3052eb.zip |
pantheon: init a 5.0
Diffstat (limited to 'pkgs/desktops/pantheon/services/cerbere/default.nix')
-rw-r--r-- | pkgs/desktops/pantheon/services/cerbere/default.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/services/cerbere/default.nix b/pkgs/desktops/pantheon/services/cerbere/default.nix new file mode 100644 index 00000000000..59983469c11 --- /dev/null +++ b/pkgs/desktops/pantheon/services/cerbere/default.nix @@ -0,0 +1,48 @@ +{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja, glib, libgee, vala, gobject-introspection, wrapGAppsHook }: + +stdenv.mkDerivation rec { + pname = "cerbere"; + version = "0.2.4"; + + src = fetchFromGitHub { + owner = "elementary"; + repo = pname; + rev = version; + sha256 = "0f9jr6q5z6nir5b77f96wm9rx6r6s9i0sr1yrymg3n7jyjgrvdwp"; + }; + + passthru = { + updateScript = pantheon.updateScript { + repoName = pname; + }; + }; + + nativeBuildInputs = [ + gobject-introspection + meson + ninja + pkgconfig + python3 + vala + wrapGAppsHook + ]; + + buildInputs = [ + glib + libgee + ]; + + postPatch = '' + chmod +x meson/post_install.py + patchShebangs meson/post_install.py + ''; + + meta = with stdenv.lib; { + description = "A simple service to ensure uptime of essential processes"; + homepage = https://github.com/elementary/cerbere; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = pantheon.maintainers; + }; + +} |