You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
337 B
13 lines
337 B
{ system, name, ver, url, sha256, configureArgs ? [], executable ? false } :
|
|
|
|
let fetchURL = import <nix/fetchurl.nix>;
|
|
|
|
in derivation {
|
|
inherit system configureArgs;
|
|
name = "trivial-bootstrap-${name}-${ver}";
|
|
dname = "${name}-${ver}";
|
|
src = fetchURL {
|
|
inherit url sha256 executable;
|
|
};
|
|
builder = ./trivial-builder.sh;
|
|
}
|
|
|