diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-06-09 23:10:59 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-06-09 23:33:54 -0300 |
commit | 494ef5a68c632cc24f68c78ce9dd2e51945a62cb (patch) | |
tree | f62fa7c7389cdf6aa63f884e82432fe7b085de6c /pkgs/games/vectoroids | |
parent | 5b6c9db8109797eece80a590890107e8aa744b21 (diff) |
vectoroids: use SRI hash format
Diffstat (limited to 'pkgs/games/vectoroids')
-rw-r--r-- | pkgs/games/vectoroids/default.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/games/vectoroids/default.nix b/pkgs/games/vectoroids/default.nix index 765f214658052..82c1571044399 100644 --- a/pkgs/games/vectoroids/default.nix +++ b/pkgs/games/vectoroids/default.nix @@ -1,14 +1,25 @@ -{lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer}: +{ lib +, stdenv +, fetchurl +, SDL +, SDL_image +, SDL_mixer +}: stdenv.mkDerivation rec { pname = "vectoroids"; version = "1.1.0"; + src = fetchurl { url = "ftp://ftp.tuxpaint.org/unix/x/vectoroids/src/vectoroids-${version}.tar.gz"; sha256 = "0bkvd4a1v496w0vlvqyi1a6p25ssgpkchxxxi8899sb72wlds54d"; }; - buildInputs = [ SDL SDL_image SDL_mixer]; + buildInputs = [ + SDL + SDL_image + SDL_mixer + ]; preConfigure = '' sed -i s,/usr/local,$out, Makefile |