3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
23 lines
699 B
Nix
23 lines
699 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "gir";
|
|
version = "unstable-2021-05-05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gtk-rs";
|
|
repo = "gir";
|
|
rev = "c148542ce89b0bf7cbb9f5ef4179c96a45d022df";
|
|
sha256 = "0vy366ipwnn0cpp14l1v5g3dpnsr3hd8mjp3333lp0946igfqsy5";
|
|
leaveDotGit = true; # required for build.rs
|
|
};
|
|
|
|
cargoSha256 = "11as1v88zf0f7l2ngllg5zqycvd05nb4vrsyl1dlarjvbq7fhvv8";
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|