* New-style Fix expressions.
svn path=/nixpkgs/trunk/; revision=114
This commit is contained in:
parent
db92a6b313
commit
114e76b2a4
|
@ -0,0 +1,9 @@
|
||||||
|
Package(
|
||||||
|
[ ("src", App(IncludeFix("fetchurl/expr.fix"),
|
||||||
|
[ ("url", "http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz")
|
||||||
|
, ("hash", "653b1bb8140ee0206b00aab126ef412e")
|
||||||
|
])
|
||||||
|
, ("build", Relative("aterm-build.sh"))
|
||||||
|
, ("id", "aterm-2.0")
|
||||||
|
]
|
||||||
|
)
|
|
@ -0,0 +1,8 @@
|
||||||
|
Function(["url", "hash"],
|
||||||
|
Package(
|
||||||
|
[ ("build", Relative("fetchurl/fetchurl.sh"))
|
||||||
|
, ("url", Var("url"))
|
||||||
|
, ("hash", Var("hash"))
|
||||||
|
]
|
||||||
|
)
|
||||||
|
)
|
|
@ -0,0 +1,3 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
wget "$url" -O "$out"
|
Loading…
Reference in New Issue