nixpkgs/pkgs/development/libraries/gio-sharp/default.nix

31 lines
688 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoconf, automake, which, pkg-config, mono, glib, gtk-sharp-2_0 }:
2016-02-09 10:20:55 +00:00
stdenv.mkDerivation rec {
pname = "gio-sharp";
2016-02-09 10:20:55 +00:00
version = "0.3";
src = fetchFromGitHub {
owner = "mono";
repo = "gio-sharp";
2019-09-09 00:38:31 +01:00
rev = version;
2016-02-09 10:20:55 +00:00
sha256 = "13pc529pjabj7lq23dbndc26ssmg5wkhc7lfvwapm87j711m0zig";
};
nativeBuildInputs = [ pkg-config autoconf automake which ];
2020-06-14 10:56:33 +01:00
buildInputs = [ mono glib gtk-sharp-2_0 ];
2016-02-09 10:20:55 +00:00
dontStrip = true;
prePatch = ''
./autogen-2.22.sh
'';
meta = with lib; {
2016-02-09 10:20:55 +00:00
description = "GIO API bindings";
homepage = "https://github.com/mono/gio-sharp";
2018-08-20 19:04:06 +01:00
license = licenses.mit;
2016-02-09 10:20:55 +00:00
platforms = platforms.linux;
};
}