eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
27 lines
766 B
Nix
27 lines
766 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "gir";
|
|
version = "2019-10-16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gtk-rs";
|
|
repo = "gir";
|
|
rev = "241d790085a712db7436c5c25b210ccb7d1a08d5";
|
|
sha256 = "1kn5kgdma9j6dwpmv6jmydak7ajlgdkw9sfkh3q7h8c2a8yikvxr";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "1ybd9h2f13fxmnkzbacd39rcyzjcjd2ra52y8kncg1s0dc0m8rjb";
|
|
|
|
meta = with stdenv.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 ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|