mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
c64-debugger: fix build
This commit is contained in:
parent
8d57281b97
commit
cb5df10da1
1 changed files with 14 additions and 5 deletions
|
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://git.code.sf.net/p/c64-debugger/code";
|
url = "https://git.code.sf.net/p/c64-debugger/code";
|
||||||
rev = "f97772e3f5c8b4fa99e8ed212ed1c4cb1e2389f1";
|
rev = "f97772e3f5c8b4fa99e8ed212ed1c4cb1e2389f1";
|
||||||
sha256 = "sha256-3SR73AHQlYSEYpJLtQ/aJ1UITZGq7aA9tQKxBsn/yuc=";
|
hash = "sha256-3SR73AHQlYSEYpJLtQ/aJ1UITZGq7aA9tQKxBsn/yuc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -85,10 +85,19 @@ stdenv.mkDerivation {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
env = {
|
||||||
|
NIX_CFLAGS_COMPILE = toString [
|
||||||
|
"-Wno-error=narrowing"
|
||||||
|
"-Wno-error=implicit-function-declaration"
|
||||||
|
"-Wno-error=int-conversion"
|
||||||
|
"-Wno-error=incompatible-pointer-types"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
homepage = "https://sourceforge.net/projects/c64-debugger";
|
homepage = "https://sourceforge.net/projects/c64-debugger";
|
||||||
description = "Commodore 64, Atari XL/XE and NES code and memory debugger that works in real time";
|
description = "Commodore 64, Atari XL/XE and NES code and memory debugger that works in real time";
|
||||||
license = with licenses; [
|
license = with lib.licenses; [
|
||||||
gpl3Only # c64-debugger
|
gpl3Only # c64-debugger
|
||||||
mit # MTEngine
|
mit # MTEngine
|
||||||
# emulators included in c64-debugger
|
# emulators included in c64-debugger
|
||||||
|
@ -96,7 +105,7 @@ stdenv.mkDerivation {
|
||||||
gpl2 # nestopiaue
|
gpl2 # nestopiaue
|
||||||
];
|
];
|
||||||
mainProgram = "c64debugger";
|
mainProgram = "c64debugger";
|
||||||
maintainers = [ maintainers.detegr ];
|
maintainers = [ lib.maintainers.detegr ];
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue