about summary refs log tree commit diff
path: root/corepkgs/fetchurl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/fetchurl/default.nix')
-rw-r--r--corepkgs/fetchurl/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/corepkgs/fetchurl/default.nix b/corepkgs/fetchurl/default.nix
new file mode 100644
index 0000000000..663bba4a38
--- /dev/null
+++ b/corepkgs/fetchurl/default.nix
@@ -0,0 +1,8 @@
+{system, url, md5}: derivation {
+  name = baseNameOf (toString url);
+  system = system;
+  builder = ./builder.sh;
+  url = url;
+  md5 = md5;
+  id = md5;
+}