Merge pull request #289980 from fgaz/treewide/fgaz-finalAttrs

treewide: use finalAttrs in packages maintained by @fgaz
This commit is contained in:
Francesco Gazzetta 2024-03-05 11:05:28 +01:00 committed by GitHub
commit 6ffb3618ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 138 additions and 146 deletions

View file

@ -22,14 +22,14 @@ let
keywords = [ "tracker" "music" ];
};
in stdenv.mkDerivation rec {
in stdenv.mkDerivation (finalAttrs: {
inherit pname;
version = if isStereo
then "2.77" # stereo
else "2.76"; # normal
src = fetchurl {
url = "mirror://sourceforge/goattracker2/GoatTracker_${version}${lib.optionalString isStereo "_Stereo"}.zip";
url = "mirror://sourceforge/goattracker2/GoatTracker_${finalAttrs.version}${lib.optionalString isStereo "_Stereo"}.zip";
sha256 = if isStereo
then "1hiig2d152sv9kazwz33i56x1c54h5sh21ipkqnp6qlnwj8x1ksy" # stereo
else "0d7a3han4jw4bwiba3j87racswaajgl3pj4sb5lawdqdxicv3dn1"; # normal
@ -69,4 +69,4 @@ in stdenv.mkDerivation rec {
maintainers = with lib.maintainers; [ fgaz ];
platforms = lib.platforms.all;
};
}
})

View file

@ -9,14 +9,14 @@
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "hivelytracker";
version = "1.9";
src = fetchFromGitHub {
owner = "pete-gordon";
repo = "hivelytracker";
rev = "V${lib.replaceStrings ["."] ["_"] version}";
rev = "V${lib.replaceStrings ["."] ["_"] finalAttrs.version}";
sha256 = "148p320sd8phcpmj4m85ns5zly2dawbp8kgx9ryjfdk24pa88xg6";
};
@ -68,4 +68,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
broken = stdenv.isDarwin; # TODO: try to use xcbuild
};
}
})

View file

@ -6,7 +6,7 @@
, Foundation
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "littlegptracker";
version = "unstable-2020-11-26";

View file

@ -6,14 +6,14 @@
, SDL2
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "pt2-clone";
version = "1.66.1";
src = fetchFromGitHub {
owner = "8bitbubsy";
repo = "pt2-clone";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-j7VPC1sj1Q+wL2TBgv06uYLPqym8F57HG1SRvj0Ggeo=";
};
@ -41,5 +41,4 @@ stdenv.mkDerivation rec {
platforms = platforms.littleEndian;
mainProgram = "pt2-clone";
};
}
})

View file

@ -9,12 +9,12 @@
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "sfxr";
version = "1.2.1";
src = fetchurl {
url = "http://www.drpetter.se/files/sfxr-sdl-${version}.tar.gz";
url = "http://www.drpetter.se/files/sfxr-sdl-${finalAttrs.version}.tar.gz";
sha256 = "0dfqgid6wzzyyhc0ha94prxax59wx79hqr25r6if6by9cj4vx4ya";
};
@ -62,5 +62,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.unix;
};
}
})

View file

@ -12,7 +12,7 @@
, libsndfile
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "soundtracker";
version = "1.0.4";
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
# Only the latest release is at the top level.
# Nonetheless, only the name of the file seems to affect which file is
# downloaded, so this path should be fine both for old and current releases.
url = "mirror://sourceforge/soundtracker/soundtracker-${version}.tar.xz";
url = "mirror://sourceforge/soundtracker/soundtracker-${finalAttrs.version}.tar.xz";
hash = "sha256-kNt0BSRaEQY+oa1xbuZ1l6nCqXhcktVugxzcC3ZDaX0=";
};
@ -76,4 +76,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -27,14 +27,14 @@
, nixosTests
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libresprite";
version = "1.0";
src = fetchFromGitHub {
owner = "LibreSprite";
repo = "LibreSprite";
rev = "v${version}";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
sha256 = "sha256-d8GmVHYomDb74iSeEhJEVTHvbiVXggXg7xSqIKCUSzY=";
};
@ -118,4 +118,4 @@ stdenv.mkDerivation rec {
# https://github.com/LibreSprite/LibreSprite/issues/308
broken = stdenv.isDarwin;
};
}
})

View file

@ -12,14 +12,14 @@
, impy
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "evilpixie";
version = "0.3.1";
src = fetchFromGitHub {
owner = "bcampbell";
repo = "evilpixie";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-+DdAN+xDOYxLgLHUlr75piTEPrWpuOyXvxckhBEl7yU=";
};
@ -51,5 +51,4 @@ stdenv.mkDerivation rec {
# https://github.com/bcampbell/evilpixie/issues/28
stdenv.isAarch64;
};
}
})

View file

@ -18,7 +18,7 @@
, Foundation
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-obfuscate";
version = "0.0.9";
@ -26,13 +26,13 @@ stdenv.mkDerivation rec {
domain = "gitlab.gnome.org";
owner = "World";
repo = "Obfuscate";
rev = version;
rev = finalAttrs.version;
hash = "sha256-aUhzact437V/bSsG2Ddu2mC03LbyXFg+hJiuGy5NQfQ=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
inherit (finalAttrs) src;
name = "${finalAttrs.pname}-${finalAttrs.version}";
hash = "sha256-HUQvdCmzjdmuJGDLtC/86yzbRimLzx+XbW29f+Ua48w=";
};
@ -66,4 +66,4 @@ stdenv.mkDerivation rec {
mainProgram = "obfuscate";
maintainers = with maintainers; [ fgaz ];
};
}
})

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, scons, pkg-config, wrapGAppsHook
, glfw3, gtk3, libpng12 }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "goxel";
version = "0.14.0";
src = fetchFromGitHub {
owner = "guillaumechereau";
repo = "goxel";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-ueA0YW2n/DXd9AytDzfPtvtXbvuUm4VDwcdvHWObKxc=";
};
@ -38,4 +38,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
maintainers = with maintainers; [ tilpner fgaz ];
};
}
})

View file

@ -27,14 +27,14 @@
, nixosTests
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "vengi-tools";
version = "0.0.28";
src = fetchFromGitHub {
owner = "mgerhardy";
repo = "vengi";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-UjSm/J/y7MUg3Exmw0P56+bcjiLxXdGS2brocdzgJ+c=";
};
@ -107,4 +107,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -10,14 +10,14 @@
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "openrgb-plugin-effects";
version = "0.9";
src = fetchFromGitLab {
owner = "OpenRGBDevelopers";
repo = "OpenRGBEffectsPlugin";
rev = "release_${version}";
rev = "release_${finalAttrs.version}";
hash = "sha256-8BnHifcFf7ESJgJi/q3ca38zuIVa++BoGlkWxj7gpog=";
fetchSubmodules = true;
};
@ -47,4 +47,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.linux;
};
}
})

View file

@ -11,14 +11,14 @@
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "openrgb-plugin-hardwaresync";
version = "0.9";
src = fetchFromGitLab {
owner = "OpenRGBDevelopers";
repo = "OpenRGBHardwareSyncPlugin";
rev = "release_${version}";
rev = "release_${finalAttrs.version}";
hash = "sha256-3sQFiqmXhuavce/6v3XBpp6PAduY7t440nXfbfCX9a0=";
};
@ -50,4 +50,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.linux;
};
}
})

View file

@ -3,7 +3,7 @@
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "openrsync";
version = "unstable-2022-05-08";

View file

@ -12,12 +12,12 @@
, gupnp_1_6
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "upnp-router-control";
version = "0.3.4";
src = fetchzip {
url = "https://launchpad.net/upnp-router-control/trunk/${version}/+download/upnp-router-control-${version}.tar.xz";
url = "https://launchpad.net/upnp-router-control/trunk/${finalAttrs.version}/+download/upnp-router-control-${finalAttrs.version}.tar.xz";
hash = "sha256-28F/OB2fHemn7HLVFEDmefRA5AsEaQKy+Qbcv75z9w0=";
};
@ -50,4 +50,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
mainProgram = "upnp-router-control";
};
}
})

View file

@ -8,7 +8,7 @@
, miniupnpc
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "yaup";
version = "unstable-2019-10-16";

View file

@ -3,14 +3,14 @@
, fetchurl
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "twemoji-color-font";
version = "14.0.2";
# We fetch the prebuilt font because building it takes 1.5 hours on hydra.
# Relevant issue: https://github.com/NixOS/nixpkgs/issues/97871
src = fetchurl {
url = "https://github.com/eosrei/twemoji-color-font/releases/download/v${version}/TwitterColorEmoji-SVGinOT-Linux-${version}.tar.gz";
url = "https://github.com/eosrei/twemoji-color-font/releases/download/v${finalAttrs.version}/TwitterColorEmoji-SVGinOT-Linux-${finalAttrs.version}.tar.gz";
sha256 = "sha256-aCbiHqCNxd8myIeuTlYEaYfg9JCd+MAsc94FcUoDU8E=";
};
@ -39,4 +39,4 @@ stdenv.mkDerivation rec {
license = with licenses; [ cc-by-40 mit ];
maintainers = [ maintainers.fgaz ];
};
}
})

View file

@ -16,14 +16,14 @@
, ForceFeedback
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "lobster";
version = "2023.13";
src = fetchFromGitHub {
owner = "aardappel";
repo = "lobster";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-7lMIIJ3iduyxZKwK65tle3c+az2G2Mpi4JwAeCCsTxw=";
};
@ -62,4 +62,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -1,10 +1,10 @@
{ lib, stdenv, fetchurl, validatePkgConfig }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "duktape";
version = "2.7.0";
src = fetchurl {
url = "http://duktape.org/duktape-${version}.tar.xz";
url = "http://duktape.org/duktape-${finalAttrs.version}.tar.xz";
sha256 = "sha256-kPjS+otVZ8aJmDDd7ywD88J5YLEayiIvoXqnrGE8KJA=";
};
@ -38,4 +38,4 @@ stdenv.mkDerivation rec {
mainProgram = "duk";
platforms = platforms.all;
};
}
})

View file

@ -16,14 +16,14 @@
, SDLSupport ? true
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "jimtcl";
version = "0.82";
src = fetchFromGitHub {
owner = "msteveb";
repo = "jimtcl";
rev = version;
rev = finalAttrs.version;
sha256 = "sha256-CDjjrxpoTbLESAbCiCjQ8+E/oJP87gDv9SedQOzH3QY=";
};
@ -77,4 +77,4 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ dbohdan fgaz vrthra ];
};
}
})

View file

@ -7,14 +7,14 @@
, jack2
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "audiality2";
version = "1.9.4";
src = fetchFromGitHub {
owner = "olofson";
repo = "audiality2";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "0ipqna7a9mxqm0fl9ggwhbc7i9yxz3jfyi0w3dymjp40v7jw1n20";
};
@ -35,5 +35,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
maintainers = with maintainers; [ fgaz ];
};
}
})

View file

@ -9,14 +9,14 @@
, libjpeg
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "impy";
version = "0.2";
src = fetchFromGitHub {
owner = "bcampbell";
repo = "impy";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-0bHm3jawYgcIeF2COALWlypX7kvPw1hifB/W+TKcC4M=";
};
@ -40,5 +40,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -5,14 +5,14 @@
, gumbo
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "litehtml";
version = "0.6";
src = fetchFromGitHub {
owner = "litehtml";
repo = "litehtml";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-9571d3k8RkzEpMWPuIejZ7njLmYstSwFUaSqT3sk6uQ=";
};
@ -43,4 +43,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
maintainers = with maintainers; [ fgaz ];
};
}
})

View file

@ -2,14 +2,14 @@
, fetchFromGitHub
, lmdb }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "lmdbxx";
version = "1.0.0";
src = fetchFromGitHub {
owner = "hoytech";
repo = "lmdbxx";
rev = version;
rev = finalAttrs.version;
sha256 = "sha256-7CxQZdgHVvmof6wVR9Mzic6tg89XJT3Z1ICGRs7PZYo=";
};
@ -22,5 +22,4 @@ stdenv.mkDerivation rec {
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ fgaz ];
};
}
})

View file

@ -1,12 +1,12 @@
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "termbox";
version = "1.1.4";
src = fetchFromGitHub {
owner = "termbox";
repo = "termbox";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "075swv6ajx8m424dbmgbf6fs6nd5q004gjpvx48gkxmnf9spvykl";
};
@ -19,4 +19,4 @@ stdenv.mkDerivation rec {
downloadPage = "https://github.com/termbox/termbox/releases";
maintainers = with maintainers; [ fgaz ];
};
}
})

View file

@ -7,14 +7,14 @@
, SDL2_image
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "brogue-ce";
version = "1.13";
src = fetchFromGitHub {
owner = "tmewett";
repo = "BrogueCE";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-FUIdi1Ytn+INeD9550MW41qXtLb6in0QS3Snt8QaXUA=";
};
@ -60,4 +60,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ AndersonTorres fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -1,11 +1,11 @@
{ lib, stdenv, fetchurl, fetchpatch, SDL, ncurses, libtcod, makeDesktopItem }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "brogue";
version = "1.7.5";
src = fetchurl {
url = "https://sites.google.com/site/broguegame/brogue-${version}-linux-amd64.tbz2";
url = "https://sites.google.com/site/broguegame/brogue-${finalAttrs.version}-linux-amd64.tbz2";
sha256 = "0i042zb3axjf0cpgpdh8hvfn66dbfizidyvw0iymjk2n760z2kx7";
};
patches = [
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
installPhase = ''
install -m 555 -D bin/brogue $out/bin/brogue
install -m 444 -D ${desktopItem}/share/applications/brogue.desktop $out/share/applications/brogue.desktop
install -m 444 -D ${finalAttrs.desktopItem}/share/applications/brogue.desktop $out/share/applications/brogue.desktop
install -m 444 -D bin/brogue-icon.png $out/share/icons/hicolor/256x256/apps/brogue.png
mkdir -p $out/share/brogue
cp -r bin/fonts $out/share/brogue/
@ -56,4 +56,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ AndersonTorres fgaz ];
platforms = [ "x86_64-linux" ];
};
}
})

View file

@ -4,14 +4,14 @@
, SDL
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "curseofwar";
version = "1.3.0";
src = fetchFromGitHub {
owner = "a-nikolaev";
repo = pname;
rev = "v${version}";
repo = "curseofwar";
rev = "v${finalAttrs.version}";
sha256 = "1wd71wdnj9izg5d95m81yx3684g4zdi7fsy0j5wwnbd9j34ilz1i";
};
@ -33,5 +33,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -16,14 +16,14 @@
, libhandy
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gnonograms";
version = "2.1.2";
src = fetchFromGitHub {
owner = "jeremypw";
repo = "gnonograms";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-TkEVjrwlr4Q5FsfcdY+9fxwaMq+DFs0RwGI2E+GT5Mk=";
};
@ -63,4 +63,4 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/jeremypw/gnonograms";
platforms = platforms.all;
};
}
})

View file

@ -1,10 +1,10 @@
{ lib, stdenv, makeDesktopItem, copyDesktopItems, fetchurl, SDL, SDL_image, SDL_mixer }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gnujump";
version = "1.0.8";
src = fetchurl {
url = "mirror://gnu/gnujump/${pname}-${version}.tar.gz";
url = "mirror://gnu/gnujump/gnujump-${finalAttrs.version}.tar.gz";
sha256 = "05syy9mzbyqcfnm0hrswlmhwlwx54f0l6zhcaq8c1c0f8dgzxhqk";
};
@ -39,4 +39,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.linux;
};
}
})

View file

@ -22,12 +22,12 @@
, bc
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "hikounomizu";
version = "1.0.1";
src = fetchurl {
url = "http://download.tuxfamily.org/hnm/${version}/hikounomizu-${version}-src.tar.bz2";
url = "http://download.tuxfamily.org/hnm/${finalAttrs.version}/hikounomizu-${finalAttrs.version}-src.tar.bz2";
hash = "sha256-3wRhe6CDq1dD0SObAygfqslYJx+EM3LM3rj6HI0whYU=";
};
@ -78,4 +78,4 @@ stdenv.mkDerivation rec {
license = [ licenses.gpl3Plus licenses.lal13 ];
platforms = platforms.all;
};
}
})

View file

@ -8,12 +8,12 @@
, libpng
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "powermanga";
version = "0.93.1";
src = fetchurl {
url = "https://linux.tlk.fr/games/Powermanga/download/powermanga-${version}.tgz";
url = "https://linux.tlk.fr/games/Powermanga/download/powermanga-${finalAttrs.version}.tgz";
sha256 = "sha256-2nU/zoOQWm2z/Y6mXHDFfWYjYshsQp1saVRBcUT5Q+g=";
};
@ -56,4 +56,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
broken = stdenv.isDarwin;
};
}
})

View file

@ -10,12 +10,12 @@
, tinyxml
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "tecnoballz";
version = "0.93.1";
src = fetchurl {
url = "https://linux.tlk.fr/games/TecnoballZ/download/tecnoballz-${version}.tgz";
url = "https://linux.tlk.fr/games/TecnoballZ/download/tecnoballz-${finalAttrs.version}.tgz";
sha256 = "sha256-WRW76e+/eXE/KwuyOjzTPFQnKwNznbIrUrz14fnvgug=";
};
@ -66,4 +66,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
broken = stdenv.isDarwin;
};
}
})

View file

@ -16,12 +16,12 @@ debianPatch = patchname: hash: fetchpatch {
sha256 = hash;
};
in stdenv.mkDerivation rec {
in stdenv.mkDerivation (finalAttrs: {
pname = "titanion";
version = "0.3";
src = fetchurl {
url = "http://abagames.sakura.ne.jp/windows/ttn${lib.replaceStrings ["."] ["_"] version}.zip";
url = "http://abagames.sakura.ne.jp/windows/ttn${lib.replaceStrings ["."] ["_"] finalAttrs.version}.zip";
sha256 = "sha256-fR0cufi6dU898wP8KGl/vxbfQJzMmMxlYZ3QNGLajfM=";
};
@ -88,4 +88,4 @@ in stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -15,14 +15,14 @@
, zlib
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "toppler";
version = "1.3";
src = fetchFromGitLab {
owner = "roever";
repo = "toppler";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-ecEaELu52Nmov/BD9VzcUw6wyWeHJcsKQkEzTnaW330=";
};
@ -58,4 +58,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -16,12 +16,12 @@ debianPatch = patchname: hash: fetchpatch {
sha256 = hash;
};
in stdenv.mkDerivation rec {
in stdenv.mkDerivation (finalAttrs: {
pname = "torus-trooper";
version = "0.22";
src = fetchurl {
url = "http://abagames.sakura.ne.jp/windows/tt${lib.replaceStrings ["."] ["_"] version}.zip";
url = "http://abagames.sakura.ne.jp/windows/tt${lib.replaceStrings ["."] ["_"] finalAttrs.version}.zip";
sha256 = "1yhki1fdp3fi4y2iq12vca69f6k38dqjaw9z4lwcxky5kbgb7jvg";
};
@ -101,4 +101,4 @@ in stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -16,12 +16,12 @@ debianPatch = patchname: hash: fetchpatch {
sha256 = hash;
};
in stdenv.mkDerivation rec {
in stdenv.mkDerivation (finalAttrs: {
pname = "tumiki-fighters";
version = "0.21";
src = fetchurl {
url = "http://abagames.sakura.ne.jp/windows/tf${lib.replaceStrings ["."] ["_"] version}.zip";
url = "http://abagames.sakura.ne.jp/windows/tf${lib.replaceStrings ["."] ["_"] finalAttrs.version}.zip";
sha256 = "0djykfc1r8ysapklm621h89ana1c4qzc1m5nr9bqw4iccnmvwk3p";
};
@ -94,4 +94,4 @@ in stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})

View file

@ -44,12 +44,12 @@ let
};
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
inherit pname;
version = "4.4.2";
src = fetchurl {
url = "mirror://sourceforge/project/warzone2100/releases/${version}/warzone2100_src.tar.xz";
url = "mirror://sourceforge/project/warzone2100/releases/${finalAttrs.version}/warzone2100_src.tar.xz";
hash = "sha256-O5Yqxqp1vKYr8uvAZ1SdsI/kocOzg0KRCirCqqvLrN4=";
};
@ -142,4 +142,4 @@ stdenv.mkDerivation rec {
# https://github.com/Warzone2100/warzone2100/blob/master/macosx/README.md
broken = stdenv.isDarwin;
};
}
})

View file

@ -11,12 +11,12 @@
, freetype
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "zaz";
version = "1.0.1";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
url = "mirror://sourceforge/zaz/zaz-${finalAttrs.version}.tar.gz";
sha256 = "1r3bmwny05zzmdalxm5ah2rray0nnsg1w00r30p47q6x2lpwj8ml";
};
@ -56,5 +56,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
mainProgram = "zaz";
};
}
})

View file

@ -10,15 +10,15 @@
, nixosTests
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "merecat";
version = "2.31";
# Or, already reconf'd: ftp://ftp.troglobit.com/merecat/merecat-${version}.tar.xz
# Or, already reconf'd: ftp://ftp.troglobit.com/merecat/merecat-${finalAttrs.version}.tar.xz
src = fetchFromGitHub {
owner = "troglobit";
repo = "merecat";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-oIzOXUnCFqd3HPyKp58r+enRRpaE7f9hqNITtxCCB7I=";
};
@ -49,4 +49,4 @@ stdenv.mkDerivation rec {
# Strange header and/or linker errors
broken = stdenv.isDarwin;
};
}
})

View file

@ -7,7 +7,7 @@
, xorg
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "qremotecontrol-server";
version = "unstable-2014-11-05"; # basically 2.4.2 + qt5

View file

@ -5,12 +5,12 @@
, libtirpc
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "xinetd";
version = "2.3.15.4";
src = fetchurl {
url = "https://github.com/openSUSE/xinetd/releases/download/${version}/xinetd-${version}.tar.xz";
url = "https://github.com/openSUSE/xinetd/releases/download/${finalAttrs.version}/xinetd-${finalAttrs.version}.tar.xz";
hash = "sha256-K6pYEBC8cDYavfo38SHpKuucXOZ/mnGRPOvWk1nMllQ=";
};
@ -29,4 +29,4 @@ stdenv.mkDerivation rec {
license = lib.licenses.free;
maintainers = with lib.maintainers; [ fgaz ];
};
}
})

View file

@ -7,14 +7,14 @@
, xorg
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "xprintidle";
version = "0.2.5";
src = fetchFromGitHub {
owner = "g0hl1n";
repo = "xprintidle";
rev = version;
rev = finalAttrs.version;
sha256 = "sha256-bafDUZoSFsJ3g6mtLCRechGizfrWg2qW2vnlfIzj7mQ=";
};
@ -38,4 +38,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
mainProgram = "xprintidle";
};
}
})

View file

@ -1,10 +1,10 @@
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "dvd-vr";
version = "0.9.7";
src = fetchurl {
url = "https://www.pixelbeat.org/programs/dvd-vr/dvd-vr-${version}.tar.gz";
url = "https://www.pixelbeat.org/programs/dvd-vr/dvd-vr-${finalAttrs.version}.tar.gz";
sha256 = "13wkdia3c0ryda40b2nzpb9vddimasgc4w95hvl0k555k9k8bl0r";
};
makeFlags = [ "PREFIX=$(out)" ];
@ -18,4 +18,4 @@ stdenv.mkDerivation rec {
mainProgram = "dvd-vr";
};
}
)

View file

@ -5,14 +5,14 @@
, fetchpatch
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "heatshrink";
version = "0.4.1";
src = fetchFromGitHub {
owner = "atomicobject";
repo = "heatshrink";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-Nm9/+JFMDXY1N90hmNFGh755V2sXSRQ4VBN9f8TcsGk=";
};
@ -46,4 +46,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
mainProgram = "heatshrink";
};
}
})

View file

@ -8,12 +8,12 @@
, wrapperDir ? "/run/wrappers/bin"
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "davfs2";
version = "1.7.0";
src = fetchurl {
url = "mirror://savannah/davfs2/davfs2-${version}.tar.gz";
url = "mirror://savannah/davfs2/davfs2-${finalAttrs.version}.tar.gz";
sha256 = "sha256-JR23Wic4DMoTMLG5cXAMXl3MDJDlpHYiKF8BQO3+Oi8=";
};
@ -59,4 +59,4 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ fgaz ];
};
}
})

View file

@ -10,12 +10,12 @@
, rman
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "tkman";
version = "2.2";
src = fetchzip {
url = "mirror://sourceforge/tkman/tkman-${version}.tar.gz";
url = "mirror://sourceforge/tkman/tkman-${finalAttrs.version}.tar.gz";
hash = "sha256-S4ffz+7zmVy9+isz/8q+FV4wF5Rw2iL1ftY8RsJjRLs=";
};
@ -84,4 +84,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
maintainers = with maintainers; [ fgaz ];
};
}
})