tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
lpairs2: add updateScript
Francesco Gazzetta
3 years ago
848ec40f
082d60f9
+7
1 changed file
expand all
collapse all
unified
split
pkgs
games
lgames
lpairs2
default.nix
+7
pkgs/games/lgames/lpairs2/default.nix
···
5
5
, SDL2_image
6
6
, SDL2_mixer
7
7
, SDL2_ttf
8
8
+
, directoryListingUpdater
8
9
}:
9
10
10
11
stdenv.mkDerivation rec {
···
22
23
SDL2_mixer
23
24
SDL2_ttf
24
25
];
26
26
+
27
27
+
passthru.updateScript = directoryListingUpdater {
28
28
+
inherit pname version;
29
29
+
url = "https://lgames.sourceforge.io/LPairs/";
30
30
+
extraRegex = "(?!.*-win(32|64)).*";
31
31
+
};
25
32
26
33
meta = with lib; {
27
34
broken = stdenv.isDarwin;