xfitter: fetch from GitLab (#377876)

The xfitter.org website is dead.
This commit is contained in:
Dmitry Kalinkin 2025-01-31 23:50:27 -05:00 committed by GitHub
parent 4aa0449341
commit 7306aa64cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitLab,
apfel,
apfelgrid,
applgrid,
@ -25,10 +25,12 @@ stdenv.mkDerivation rec {
pname = "xfitter";
version = "2.2.0";
src = fetchurl {
name = "${pname}-${version}.tgz";
url = "https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=get&target=${pname}-${version}.tgz";
sha256 = "sha256-ZHIQ5hOY+k0/wmpE0o4Po+RZ4MkVMk+bK1Rc6eqwwH0=";
src = fetchFromGitLab {
owner = "fitters";
repo = "xfitter";
rev = "refs/tags/2.2.0_Future_Freeze";
domain = "gitlab.cern.ch";
hash = "sha256-wanxgldvBEuAEOeVok3XgRVStcn9APd+Nj7vpRZUtGs=";
};
patches = [