7 lines
209 B
Nix
7 lines
209 B
Nix
|
let
|
||
|
spec = builtins.fromJSON (builtins.readFile ./nixpkgs-src.json);
|
||
|
in builtins.fetchTarball {
|
||
|
url = "https://github.com/${spec.owner}/${spec.repo}/archive/${spec.rev}.tar.gz";
|
||
|
inherit (spec) sha256;
|
||
|
}
|