ncurses: rename name to pname&version

This commit is contained in:
Felix Buehler 2022-02-10 13:58:01 +01:00
parent 0bb878670b
commit 8b36aaf032

View file

@ -13,7 +13,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
# Note the revision needs to be adjusted. # Note the revision needs to be adjusted.
version = "6.3"; version = "6.3";
name = "ncurses-${version}" + lib.optionalString (abiVersion == "5") "-abi5-compat"; pname = "ncurses" + lib.optionalString (abiVersion == "5") "-abi5-compat";
# We cannot use fetchFromGitHub (which calls fetchzip) # We cannot use fetchFromGitHub (which calls fetchzip)
# because we need to be able to use fetchurlBoot. # because we need to be able to use fetchurlBoot.