Skip to content

Commit 7306aa6

Browse files
authored
xfitter: fetch from GitLab (NixOS#377876)
The xfitter.org website is dead.
1 parent 4aa0449 commit 7306aa6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pkgs/by-name/xf/xfitter/package.nix

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
stdenv,
4-
fetchurl,
4+
fetchFromGitLab,
55
apfel,
66
apfelgrid,
77
applgrid,
@@ -25,10 +25,12 @@ stdenv.mkDerivation rec {
2525
pname = "xfitter";
2626
version = "2.2.0";
2727

28-
src = fetchurl {
29-
name = "${pname}-${version}.tgz";
30-
url = "https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=get&target=${pname}-${version}.tgz";
31-
sha256 = "sha256-ZHIQ5hOY+k0/wmpE0o4Po+RZ4MkVMk+bK1Rc6eqwwH0=";
28+
src = fetchFromGitLab {
29+
owner = "fitters";
30+
repo = "xfitter";
31+
rev = "refs/tags/2.2.0_Future_Freeze";
32+
domain = "gitlab.cern.ch";
33+
hash = "sha256-wanxgldvBEuAEOeVok3XgRVStcn9APd+Nj7vpRZUtGs=";
3234
};
3335

3436
patches = [

0 commit comments

Comments
 (0)