forked from renet/ENC424J600
nix/itm-tools.nix: Fix hash for nixpkgs 20.09
This commit is contained in:
parent
f68d5a8c93
commit
15b08c780e
|
@ -1,19 +1,21 @@
|
||||||
{ stdenv, fetchFromGitHub, rustPlatform, pkg-config }:
|
{ stdenv, fetchFromGitHub, rustPlatform, pkg-config }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
version = "2019-11-15";
|
|
||||||
pname = "itm-tools";
|
pname = "itm-tools";
|
||||||
|
version = "unstable-2019-11-15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "japaric";
|
owner = "japaric";
|
||||||
repo = "itm-tools";
|
repo = pname;
|
||||||
rev = "e94155e44019d893ac8e6dab51cc282d344ab700";
|
rev = "e94155e44019d893ac8e6dab51cc282d344ab700";
|
||||||
sha256 = "19xkjym0i7y52cfhvis49c59nzvgw4906cd8bkz8ka38mbgfqgiy";
|
sha256 = "19xkjym0i7y52cfhvis49c59nzvgw4906cd8bkz8ka38mbgfqgiy";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoPatches = [ ./itm-tools-cargo-lock.patch ];
|
cargoPatches = [ ./itm-tools-cargo-lock.patch ];
|
||||||
|
|
||||||
cargoSha256 = "0is702s14pgvd5i2m8aaw3zcsshqrwj97mjgg3wikbc627pagzg7";
|
# This hash is computed under nixpkgs 20.09.
|
||||||
|
# Older versions nixpkgs would require a different value.
|
||||||
|
cargoSha256 = "0rl2ph5igwjl7rwpwcf6afnxly5av7cd6va6wn82lxm606giyq75";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue