mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-09 06:43:36 +00:00
wcc: 0.0.7-unstable-2025-01-13 -> 00.7-unstable-2025-04-30
This commit is contained in:
@@ -10,14 +10,15 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "wcc-unstable";
|
||||
version = "0.0.7-unstable-2025-01-13";
|
||||
pname = "wcc";
|
||||
version = "0.0.7-unstable-2025-04-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "endrazine";
|
||||
repo = "wcc";
|
||||
rev = "fe1f71d7f6c756e196b82a884dc38bb8f8aef4d3";
|
||||
sha256 = "sha256-Kb9QIL+W0JFdfweqZL05OajXGGqXn6e6Jv3IVCr3BwQ=";
|
||||
rev = "8cbb49345d9596dfd37bd1b681753aacaab96475";
|
||||
hash = "sha256-f19EqkXJ97k0gjVBEBLzfNqYZ/J7sCCGBEeFsSax3uU=";
|
||||
deepClone = true;
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@@ -34,8 +35,12 @@ stdenv.mkDerivation {
|
||||
-e "s#/usr/share/wcc#$out/share/wcc#"
|
||||
|
||||
sed -i -e '/stropts.h>/d' src/wsh/include/libwitch/wsh.h
|
||||
|
||||
sed -i '/wsh-`uname -m`.*-static/d' src/wsh/Makefile
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
preInstall = ''
|
||||
@@ -60,7 +65,13 @@ stdenv.mkDerivation {
|
||||
homepage = "https://github.com/endrazine/wcc";
|
||||
description = "Witchcraft compiler collection: tools to convert and script ELF files";
|
||||
license = licenses.mit;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ orivej ];
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
maintainers = with maintainers; [
|
||||
orivej
|
||||
DieracDelta
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user