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/rogue | |
parent | d26902aef932e80eb772026433af13ce662e7872 (diff) |
games: /s/name/pname&version/
Diffstat (limited to 'pkgs/games/rogue')
-rw-r--r-- | pkgs/games/rogue/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/games/rogue/default.nix b/pkgs/games/rogue/default.nix index 1e215c813b531..127d65ff362f6 100644 --- a/pkgs/games/rogue/default.nix +++ b/pkgs/games/rogue/default.nix @@ -1,13 +1,14 @@ {lib, stdenv, fetchurl, ncurses}: -stdenv.mkDerivation { - name = "rogue-5.4.4"; +stdenv.mkDerivation rec { + pname = "rogue"; + version = "5.4.4"; src = fetchurl { urls = [ - "https://src.fedoraproject.org/repo/pkgs/rogue/rogue5.4.4-src.tar.gz/033288f46444b06814c81ea69d96e075/rogue5.4.4-src.tar.gz" - "http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/slitaz/sources/packages-cooking/r/rogue5.4.4-src.tar.gz" - "http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.4-src.tar.gz" + "https://src.fedoraproject.org/repo/pkgs/rogue/rogue${version}-src.tar.gz/033288f46444b06814c81ea69d96e075/rogue${version}-src.tar.gz" + "http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/slitaz/sources/packages-cooking/r/rogue${version}-src.tar.gz" + "http://rogue.rogueforge.net/files/rogue${lib.versions.majorMinor version}/rogue${version}-src.tar.gz" ]; sha256 = "18g81274d0f7sr04p7h7irz0d53j6kd9j1y3zbka1gcqq0gscdvx"; }; |