mio-ops/hardware/odroid-hc4/overlays/uboot/meson64-tools.nix

20 lines
487 B
Nix
Raw Permalink Normal View History

2022-03-07 14:26:15 +00:00
{
stdenv,
python2,
python3,
}:
2021-10-20 06:22:09 +00:00
stdenv.mkDerivation {
name = "meson64-tools";
2022-03-07 14:26:15 +00:00
nativeBuildInputs = [python2 python3];
2021-10-20 06:22:09 +00:00
src = builtins.fetchTarball {
2022-03-07 14:26:15 +00:00
url = "https://github.com/angerman/meson64-tools/archive/a2d57d11fd8b4242b903c10dca9d25f7f99d8ff0.tar.gz";
2021-10-20 06:22:09 +00:00
sha256 = "1487cr7sv34yry8f0chaj6s2g3736dzq0aqw239ahdy30yg7hb2v";
};
preBuild = ''
patchShebangs .
patchShebangs ./mbedtls/scripts/generate_psa_constants.py
'';
2022-03-07 14:26:15 +00:00
makeFlags = ["PREFIX=$(out)/bin"];
2021-10-20 06:22:09 +00:00
}