Skip to content

Commit

Permalink
xfitter: fetch from GitLab (#377876)
Browse files Browse the repository at this point in the history
The xfitter.org website is dead.
  • Loading branch information
veprbl authored Feb 1, 2025
1 parent 4aa0449 commit 7306aa6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pkgs/by-name/xf/xfitter/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitLab,
apfel,
apfelgrid,
applgrid,
Expand All @@ -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 = [
Expand Down

0 comments on commit 7306aa6

Please sign in to comment.