Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, autoconf, automake, which, pkg-config, mono, glib, gtk-sharp-2_0 }: 2 3stdenv.mkDerivation rec { 4 pname = "gio-sharp"; 5 version = "0.3"; 6 7 src = fetchFromGitHub { 8 owner = "mono"; 9 repo = "gio-sharp"; 10 11 rev = version; 12 sha256 = "13pc529pjabj7lq23dbndc26ssmg5wkhc7lfvwapm87j711m0zig"; 13 }; 14 15 nativeBuildInputs = [ pkg-config autoconf automake which ]; 16 buildInputs = [ mono glib gtk-sharp-2_0 ]; 17 18 dontStrip = true; 19 20 prePatch = '' 21 ./autogen-2.22.sh 22 ''; 23 24 meta = with lib; { 25 description = "GIO API bindings"; 26 homepage = "https://github.com/mono/gio-sharp"; 27 license = licenses.mit; 28 platforms = platforms.linux; 29 }; 30}