submodules = [
{ name = "foo"; sha256 = "a361ae36e07aa4939becd8e7d45d8d39a59081f0d522370f1f7c640b557bbf1e"; }
];
srcs = map (smod:
(fetchurl {
url = "https://github.com/red-eclipse/${smod.name}/archive/v${version}.tar.gz";
sha256 = smod.sha256;
})) submodules;
Add a code snippet to your website: www.paste.org