Skip to content

Commit

Permalink
* - make NixOS derivation file
Browse files Browse the repository at this point in the history
  • Loading branch information
Lains committed Feb 18, 2020
1 parent abda5fe commit 5a7b288
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions nix/default.nix
@@ -0,0 +1,35 @@
with import <nixpkgs> {};

stdenv.mkDerivation rec {
name = "com.github.lainsce.khronos";
version = "1.0.5";

src = fetchFromGitHub {
owner = "lainsce";
repo = "khronos";
rev = "1.0.5";
sha256 = "0dk1b2d82gli3z35dn5p002lfkgq326janql0vn1z5hs8jvjakqh";
};

postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';

buildInputs = [
libgee
gtk3
json-glib
pantheon.granite
];

nativeBuildInputs = [
desktop-file-utils
meson
ninja
pkgconfig
python3
vala
wrapGAppsHook
];
}

0 comments on commit 5a7b288

Please sign in to comment.