1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

lbreakouthd: change self to finalAttrs

This commit is contained in:
Anderson Torres 2023-04-16 17:12:46 -03:00
parent b181983d3f
commit f7ad06567b

View file

@ -8,12 +8,12 @@
, SDL2_ttf
}:
stdenv.mkDerivation (self: {
stdenv.mkDerivation (finalAttrs: {
pname = "lbreakouthd";
version = "1.1.2";
src = fetchurl {
url = "mirror://sourceforge/lgames/lbreakouthd-${self.version}.tar.gz";
url = "mirror://sourceforge/lgames/lbreakouthd-${finalAttrs.version}.tar.gz";
hash = "sha256-fK7w5uS7zPJnbEmY3YpxoA9cGuooQbVlDB9Mu6yB8hw=";
};
@ -27,7 +27,7 @@ stdenv.mkDerivation (self: {
hardeningDisable = [ "format" ];
passthru.updateScript = directoryListingUpdater {
inherit (self) pname version;
inherit (finalAttrs) pname version;
url = "https://lgames.sourceforge.io/LBreakoutHD/";
extraRegex = "(?!.*-win(32|64)).*";
};