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