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