2019-10-20 21:57:53 +02:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "gir";
|
|
|
|
version = "2019-10-16";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gtk-rs";
|
|
|
|
repo = "gir";
|
|
|
|
rev = "241d790085a712db7436c5c25b210ccb7d1a08d5";
|
|
|
|
sha256 = "1kn5kgdma9j6dwpmv6jmydak7ajlgdkw9sfkh3q7h8c2a8yikvxr";
|
|
|
|
};
|
|
|
|
|
2020-03-07 17:12:32 +01:00
|
|
|
cargoSha256 = "048qhlc4f5khxi7dnakgqkhgww44r6h3mlx2fm7y2wqivr3rj8p1";
|
2019-10-20 21:57:53 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tool to generate rust bindings and user API for glib-based libraries";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/gtk-rs/gir/";
|
2019-10-20 21:57:53 +02:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ ekleog ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|