Merge pull request #310494 from CobaltCause/engage

engage: use fetchFromGitLab and update URLs

authored by Weijia Wang and committed by GitHub 0aa7ab75 0e97dafe

+7 -6
+7 -6
pkgs/by-name/en/engage/package.nix
··· 1 1 { lib 2 2 , installShellFiles 3 3 , rustPlatform 4 - , fetchgit 4 + , fetchFromGitLab 5 5 }: 6 6 7 7 let ··· 11 11 rustPlatform.buildRustPackage { 12 12 inherit pname version; 13 13 14 - # fetchFromGitLab doesn't work on GitLab's end for unknown reasons 15 - src = fetchgit { 16 - url = "https://or.computer.surgery/charles/${pname}"; 14 + src = fetchFromGitLab { 15 + domain = "gitlab.computer.surgery"; 16 + owner = "charles"; 17 + repo = pname; 17 18 rev = "v${version}"; 18 19 hash = "sha256-niXh63xTpXSp9Wqwfi8hUBKJSClOUSvB+TPCTaqHfZk="; 19 20 }; ··· 39 40 meta = { 40 41 description = "A task runner with DAG-based parallelism"; 41 42 mainProgram = "engage"; 42 - homepage = "https://or.computer.surgery/charles/engage"; 43 - changelog = "https://or.computer.surgery/charles/engage/-/blob/v${version}/CHANGELOG.md"; 43 + homepage = "https://gitlab.computer.surgery/charles/engage"; 44 + changelog = "https://gitlab.computer.surgery/charles/engage/-/blob/v${version}/CHANGELOG.md"; 44 45 license = with lib.licenses; [ asl20 mit ]; 45 46 maintainers = with lib.maintainers; [ CobaltCause ]; 46 47 };