* Moved the fetchutl package to corepkgs.
This commit is contained in:
parent
9ebd78144a
commit
b96239c657
9
corepkgs/fetchurl/fetchurl.fix
Normal file
9
corepkgs/fetchurl/fetchurl.fix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
Function(["url", "hash"],
|
||||||
|
Package(
|
||||||
|
[ ("build", Relative("fetchurl/fetchurl.sh"))
|
||||||
|
, ("url", Var("url"))
|
||||||
|
, ("hash", Var("hash"))
|
||||||
|
, ("name", BaseName(Var("url")))
|
||||||
|
]
|
||||||
|
)
|
||||||
|
)
|
3
corepkgs/fetchurl/fetchurl.sh
Normal file
3
corepkgs/fetchurl/fetchurl.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
wget "$url" -O "$out"
|
Loading…
Reference in a new issue