From 2be7907cba73bdded8b78adf668e28ef28c8404d Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Thu, 18 Feb 2021 19:31:27 +0100 Subject: [PATCH] ncompress: split "name" in "pname" and "version" --- pkgs/tools/compression/ncompress/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/compression/ncompress/default.nix b/pkgs/tools/compression/ncompress/default.nix index 617bb07dfab7..f580709495ed 100644 --- a/pkgs/tools/compression/ncompress/default.nix +++ b/pkgs/tools/compression/ncompress/default.nix @@ -1,12 +1,13 @@ {lib, stdenv, fetchurl}: stdenv.mkDerivation rec { - name = "ncompress-5.0"; + pname = "ncompress"; + version = "5.0"; builder = ./builder.sh; src = fetchurl { - url = "mirror://sourceforge/project/ncompress/${name}.tar.gz"; + url = "mirror://sourceforge/project/ncompress/${pname}-${version}.tar.gz"; sha256 = "004r086c11sw9vg2j3srgxpz98w8pycjl33bk3pgqnd0s92igrn4"; };