davix-copy: remove appendToName to have a consistent package name for repology

This commit is contained in:
Felix Buehler 2022-02-21 22:53:07 +01:00
parent 0d39e18c48
commit 19d43bf8f6
2 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ let
in
stdenv.mkDerivation rec {
version = "0.8.0";
pname = "davix";
pname = "davix" + lib.optionalString enableThirdPartyCopy "-copy";
nativeBuildInputs = [ cmake pkg-config python3 ];
buildInputs = [
openssl
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
# "please ignore the GitHub-generated tarballs, as they are incomplete"
# https://github.com/cern-fts/davix/releases/tag/R_0_8_0
src = fetchurl {
url = "https://github.com/cern-fts/${pname}/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/${pname}-${version}.tar.gz";
url = "https://github.com/cern-fts/davix/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/davix-${version}.tar.gz";
sha256 = "LxCNoECKg/tbnwxoFQ02C6cz5LOg/imNRbDTLSircSQ=";
};

View file

@ -4069,7 +4069,7 @@ with pkgs;
davix = callPackage ../tools/networking/davix { };
davix-copy = appendToName "copy" (davix.override { enableThirdPartyCopy = true; });
davix-copy = davix.override { enableThirdPartyCopy = true; };
cantata = libsForQt5.callPackage ../applications/audio/cantata { };