2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "gir";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "unstable-2021-05-05";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gtk-rs";
|
|
|
|
repo = "gir";
|
2021-05-20 23:08:51 +00:00
|
|
|
rev = "c148542ce89b0bf7cbb9f5ef4179c96a45d022df";
|
|
|
|
sha256 = "0vy366ipwnn0cpp14l1v5g3dpnsr3hd8mjp3333lp0946igfqsy5";
|
|
|
|
leaveDotGit = true; # required for build.rs
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
cargoSha256 = "11as1v88zf0f7l2ngllg5zqycvd05nb4vrsyl1dlarjvbq7fhvv8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tool to generate rust bindings and user API for glib-based libraries";
|
|
|
|
homepage = "https://github.com/gtk-rs/gir/";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ ekleog ];
|
|
|
|
};
|
|
|
|
}
|