diff options
author | Felix Buehler <account@buehler.rocks> | 2021-06-20 12:34:30 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-06-30 09:55:22 +0200 |
commit | 6f04cd0e6967bc2a426b209fa700b3a3dbb1dbc3 (patch) | |
tree | 446cf979bc403c340d4ff6b6536d2115435bff76 /pkgs/development/tools/cdecl | |
parent | 1e7f88a5235ccef5f05670bd4f7f176d697c1951 (diff) |
application/development: /s/name/pname&version/
Diffstat (limited to 'pkgs/development/tools/cdecl')
-rw-r--r-- | pkgs/development/tools/cdecl/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/tools/cdecl/default.nix b/pkgs/development/tools/cdecl/default.nix index bc44741cffee..7eefc4fc92d0 100644 --- a/pkgs/development/tools/cdecl/default.nix +++ b/pkgs/development/tools/cdecl/default.nix @@ -1,9 +1,10 @@ {lib, stdenv, fetchurl, bison, flex, readline, ncurses, gnused}: -stdenv.mkDerivation { - name = "cdecl-2.5"; +stdenv.mkDerivation rec { + pname = "cdecl"; + version = "2.5"; src = fetchurl { - url = "https://www.cdecl.org/files/cdecl-blocks-2.5.tar.gz"; + url = "https://www.cdecl.org/files/${pname}-blocks-${version}.tar.gz"; sha256 = "1b7k0ra30hh8mg8fqv0f0yzkaac6lfg6n376drgbpxg4wwml1rly"; }; |