13 description = "Clone of the original Duke Nukum 1 Jump'n Run game";
15 desktopItem = makeDesktopItem {
20 comment = description;
21 categories = [ "Game" "ArcadeGame" "ActionGame" ];
26 rustPlatform.buildRustPackage rec {
30 src = fetchFromGitLab {
31 domain = "salsa.debian.org";
35 hash = "sha256-Tk9n2gPwyPin6JZ4RSO8d/+xVpEz4rF8C2eGKwrAXU0=";
38 cargoSha256 = "sha256-8RfiObWDqZJg+sjjDBk+sRoS5CiECIdNPH79T+O8e8M=";
51 substituteInPlace src/graphics.rs \
56 mkdir -p $out/share/fonts/truetype/dejavu
58 ${dejavu_fonts}/share/fonts/truetype/DejaVuSans.ttf \
59 $out/share/fonts/truetype/dejavu/DejaVuSans.ttf
60 mkdir -p $out/share/doc/freenukum
61 install -Dm644 README.md CHANGELOG.md $out/share/doc/freenukum/
62 installManPage doc/freenukum.6
63 install -Dm644 "${desktopItem}/share/applications/"* -t $out/share/applications/
67 description = "Clone of the original Duke Nukum 1 Jump'n Run game";
68 homepage = "https://salsa.debian.org/silwol/freenukum";
69 changelog = "https://salsa.debian.org/silwol/freenukum/-/blob/v${version}/CHANGELOG.md";
70 license = licenses.agpl3Plus;
71 maintainers = with maintainers; [ _0x4A6F ];
72 broken = stdenv.isDarwin;