2021-01-25 00:26:54 -08:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2019-10-20 12:57:53 -07:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "gir";
|
2021-05-10 01:06:42 -07:00
|
|
|
version = "unstable-2021-05-05";
|
2019-10-20 12:57:53 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gtk-rs";
|
|
|
|
repo = "gir";
|
2021-05-10 01:06:42 -07:00
|
|
|
rev = "c148542ce89b0bf7cbb9f5ef4179c96a45d022df";
|
|
|
|
sha256 = "0vy366ipwnn0cpp14l1v5g3dpnsr3hd8mjp3333lp0946igfqsy5";
|
|
|
|
leaveDotGit = true; # required for build.rs
|
2019-10-20 12:57:53 -07:00
|
|
|
};
|
|
|
|
|
2021-05-10 01:06:42 -07:00
|
|
|
cargoSha256 = "11as1v88zf0f7l2ngllg5zqycvd05nb4vrsyl1dlarjvbq7fhvv8";
|
2019-10-20 12:57:53 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2019-10-20 12:57:53 -07:00
|
|
|
description = "Tool to generate rust bindings and user API for glib-based libraries";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/gtk-rs/gir/";
|
2019-10-20 12:57:53 -07:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ ekleog ];
|
|
|
|
};
|
|
|
|
}
|