mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
lbreakouthd: change self to finalAttrs
This commit is contained in:
parent
b181983d3f
commit
f7ad06567b
@ -8,12 +8,12 @@
|
|||||||
, SDL2_ttf
|
, SDL2_ttf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (self: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "lbreakouthd";
|
pname = "lbreakouthd";
|
||||||
version = "1.1.2";
|
version = "1.1.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/lgames/lbreakouthd-${self.version}.tar.gz";
|
url = "mirror://sourceforge/lgames/lbreakouthd-${finalAttrs.version}.tar.gz";
|
||||||
hash = "sha256-fK7w5uS7zPJnbEmY3YpxoA9cGuooQbVlDB9Mu6yB8hw=";
|
hash = "sha256-fK7w5uS7zPJnbEmY3YpxoA9cGuooQbVlDB9Mu6yB8hw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ stdenv.mkDerivation (self: {
|
|||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
passthru.updateScript = directoryListingUpdater {
|
passthru.updateScript = directoryListingUpdater {
|
||||||
inherit (self) pname version;
|
inherit (finalAttrs) pname version;
|
||||||
url = "https://lgames.sourceforge.io/LBreakoutHD/";
|
url = "https://lgames.sourceforge.io/LBreakoutHD/";
|
||||||
extraRegex = "(?!.*-win(32|64)).*";
|
extraRegex = "(?!.*-win(32|64)).*";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user