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/vessel | |
parent | d26902aef932e80eb772026433af13ce662e7872 (diff) | |
download | nixpkgs-ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d.tar nixpkgs-ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d.tar.gz nixpkgs-ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d.tar.bz2 nixpkgs-ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d.tar.lz nixpkgs-ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d.tar.xz nixpkgs-ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d.tar.zst nixpkgs-ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d.zip |
games: /s/name/pname&version/
Diffstat (limited to 'pkgs/games/vessel')
-rw-r--r-- | pkgs/games/vessel/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/games/vessel/default.nix b/pkgs/games/vessel/default.nix index 4a25d26f8cc..7c535cb323e 100644 --- a/pkgs/games/vessel/default.nix +++ b/pkgs/games/vessel/default.nix @@ -1,19 +1,20 @@ { lib, stdenv, requireFile, SDL, libpulseaudio, alsa-lib, runtimeShell }: stdenv.mkDerivation rec { - name = "vessel-12082012"; + pname = "vessel"; + version = "12082012"; goBuyItNow = '' We cannot download the full version automatically, as you require a license. Once you bought a license, you need to add your downloaded version to the nix store. - You can do this by using "nix-prefetch-url file://\$PWD/${name}-bin" in the + You can do this by using "nix-prefetch-url file://\$PWD/vessel-${version}-bin" in the directory where you saved it. ''; src = if (stdenv.isi686) then requireFile { message = goBuyItNow; - name = "${name}-bin"; + name = "vessel-${version}-bin"; sha256 = "1vpwcrjiln2mx43h7ib3jnccyr3chk7a5x2bw9kb4lw8ycygvg96"; } else throw "unsupported platform ${stdenv.hostPlatform.system} only i686-linux supported for now."; |