diff options
author | Felix Buehler <account@buehler.rocks> | 2021-06-22 15:21:29 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-07-02 00:03:10 +0200 |
commit | 58a2d4b666bee0cb4be84f2efca942b1ffee916f (patch) | |
tree | f29fc3a22513918ab0289d2d91caef0c91b3f735 /pkgs/development/libraries/AntTweakBar | |
parent | 3196682098e710a6bb6f1984a070459473fcad4c (diff) |
development: /s/name/pname&version/
Diffstat (limited to 'pkgs/development/libraries/AntTweakBar')
-rw-r--r-- | pkgs/development/libraries/AntTweakBar/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/AntTweakBar/default.nix b/pkgs/development/libraries/AntTweakBar/default.nix index d46c7a6bcd859..4c67c927e57fc 100644 --- a/pkgs/development/libraries/AntTweakBar/default.nix +++ b/pkgs/development/libraries/AntTweakBar/default.nix @@ -1,13 +1,14 @@ { lib, stdenv, fetchurl, unzip, xorg, libGLU, libGL }: -stdenv.mkDerivation { - name = "AntTweakBar-1.16"; +stdenv.mkDerivation rec { + pname = "AntTweakBar"; + version = "1.16"; nativeBuildInputs = [ unzip ]; buildInputs = [ xorg.libX11 libGLU libGL ]; src = fetchurl { - url = "mirror://sourceforge/project/anttweakbar/AntTweakBar_116.zip"; + url = "mirror://sourceforge/project/anttweakbar/AntTweakBar_${lib.replaceStrings ["."] [""] version}.zip"; sha256 = "0z3frxpzf54cjs07m6kg09p7nljhr7140f4pznwi7srwq4cvgkpv"; }; |