Merge pull request #24 from hercules-ci/issue-16-mit-license

Revert "Revert unlicensed contribution"
This commit is contained in:
Eelco Dolstra 2021-08-02 16:09:59 +02:00 committed by GitHub
commit 12c64ca55c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,13 @@ let
{ outPath = builtins.path { path = info.path; };
narHash = info.narHash;
}
else if info.type == "tarball" then
{ outPath =
fetchTarball
({ inherit (info) url; }
// (if info ? narHash then { sha256 = info.narHash; } else {})
);
}
else if info.type == "gitlab" then
{ inherit (info) rev narHash lastModified;
outPath =