gnuk: 1.2.14 -> 2.2

Still broken, as they switched from newlib to picolib.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
Fernando Rodrigues 2024-10-31 15:41:26 +00:00
parent ac2bd873a3
commit cab0d917f4
No known key found for this signature in database
GPG Key ID: CC3AE2EA00000000

View File

@ -1,26 +1,28 @@
{ {
lib, lib,
stdenv, stdenv,
fetchFromGitLab,
gcc-arm-embedded, gcc-arm-embedded,
binutils-arm-embedded, binutils-arm-embedded,
makeWrapper, makeWrapper,
python3Packages, python3Packages,
fetchgit,
# Extra options # Extra options
vid ? "234b", vid ? "234b",
pid ? "0000", pid ? "0000",
}: }:
stdenv.mkDerivation { stdenv.mkDerivation (finalAttrs: {
pname = "gnuk"; pname = "gnuk";
version = "2.2";
version = "1.2.14"; src = fetchFromGitLab {
domain = "salsa.debian.org";
src = fetchgit { owner = "gnuk-team";
url = "git://git.gniibe.org/gnuk/gnuk.git"; repo = "gnuk/gnuk";
rev = "177ef67edfa2306c2a369a037362385c354083e1"; rev = "release/${finalAttrs.version}";
sha256 = "16wa3xsaq4r8caw6c24hnv4j78bklacix4in2y66j35h68ggr3j1"; hash = "sha256-qY/dwkcPJiPx/+inSxH7w7a0v3cWUQDX+NYJwUjnkMY=";
fetchSubmodules = true;
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -65,4 +67,4 @@ stdenv.mkDerivation {
license = licenses.gpl3; license = licenses.gpl3;
platforms = with platforms; linux; platforms = with platforms; linux;
}; };
} })