diff options
author | Felix Buehler <account@buehler.rocks> | 2021-06-22 23:44:58 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-06-25 01:28:10 +0200 |
commit | ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d (patch) | |
tree | 3c3d6efc864eaf1543b494bbf8d9c2bfda934151 /pkgs/games/vectoroids | |
parent | d26902aef932e80eb772026433af13ce662e7872 (diff) |
games: /s/name/pname&version/
Diffstat (limited to 'pkgs/games/vectoroids')
-rw-r--r-- | pkgs/games/vectoroids/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/games/vectoroids/default.nix b/pkgs/games/vectoroids/default.nix index e0b7e13c91ea9..765f214658052 100644 --- a/pkgs/games/vectoroids/default.nix +++ b/pkgs/games/vectoroids/default.nix @@ -1,9 +1,10 @@ {lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer}: -stdenv.mkDerivation { - name = "vectoroids-1.1.0"; +stdenv.mkDerivation rec { + pname = "vectoroids"; + version = "1.1.0"; src = fetchurl { - url = "ftp://ftp.tuxpaint.org/unix/x/vectoroids/src/vectoroids-1.1.0.tar.gz"; + url = "ftp://ftp.tuxpaint.org/unix/x/vectoroids/src/vectoroids-${version}.tar.gz"; sha256 = "0bkvd4a1v496w0vlvqyi1a6p25ssgpkchxxxi8899sb72wlds54d"; }; |