about summary refs log tree commit diff
path: root/pkgs/build-support/fetchgithub
AgeCommit message (Collapse)AuthorFilesLines
2024-01-30fetchFromGitHub: fix compatibility issue with nix-prefetchWeijia Wang1-1/+5
2024-01-16Merge #279934: fetchFromGitHub: drop unzipVladimír Čunát1-1/+1
2024-01-12fetchFromGitHub: drop unzipWeijia Wang1-1/+1
2023-12-31build-support/fetchgithub: fix metadata eval for arguments without locationsSergei Trofimovich1-1/+1
Without the change metadata evaluation fails on package like `zammad.src` where no fields are defined in `.nix `files: src = fetchFromGitHub (lib.importJSON ./source.json); There evaluation fails as: $ nix-instantiate --strict --eval --expr 'with import ./. {}; zammad.src.meta' error: 23| # to indicate where derivation originates, similar to make-derivation.nix's mkDerivation 24| position = "${position.file}:${toString position.line}"; | ^ 25| }; error: value is null while a set was expected After the change evaluation succeeds as: $ nix-instantiate --strict --eval --expr 'with import ./. {}; zammad.src.meta' { homepage = "https://github.com/zammad/zammad"; }
2023-06-24treewide: use optionalString instead of 'then ""'Felix Buehler1-1/+1
2023-06-04fetchgit: require sparseCheckout be a list of stringsNicolas Benes1-1/+1
Passing a (multi-line) string was deprecated in #200082 in favour of list of strings, but still supported (with warning). Now, enforce use of list of strings.
2023-04-22treewide: Make some fetchers overridablepiegames1-0/+2
2022-12-10fetchGitHub: inherit owner and repo for use with rocmUpdateScriptMadoura1-1/+1
2022-11-15treewide: make sparseCheckout a list of stringsNicolas Benes1-2/+2
2022-05-24unstableGitUpdater: fix updating fetchzip-based sourcesJan Tojnar1-2/+11
a67950f20b97a293b2fefeecc349c6b785321e4b added `url` attribute from `fetchurl` and therefore also from `fetchzip`. We previously relied on `url` from fetchgit-based fetchers to find the repo URL but now it will just return tarballs in the case of `fetchFrom{GitHub,GitLab}`. Let’s add an attribute to `fetch{git,FromGitHub,FromGitLab}` to expose a repo URL consistently.
2022-02-10fetchFromGitHub: perserve originating positionJonathan Ringer1-1/+11
2022-02-10fetchFromGitHub: don't overwrite metaJonathan Ringer1-1/+4
2022-01-24fetchgithub: Support sparseCheckoutZhong Jianxin1-2/+3
2021-11-11fetchgithub: fix eval when passing forceFetchGitSandro Jäckel1-1/+1
2021-09-28fetchFromGitHub: allow forcing fetchGitSandro Jäckel1-2/+2
2021-09-28fetchgithub: allow private repos to use fetchgitSandro Jäckel1-4/+2
2020-12-21fetchFromGitHub: also use git if deepClone or leaveDotGit is usedsternenseemann1-6/+14
leaveDotGit is only inherited if it is explicitly set, so fetchgit's default value for leaveDotGit ? deepClone is respected.
2019-01-26all-packages: move fetch* to pkgs/build-support/Matthew Bauer1-0/+33