* New-style Fix expressions.

svn path=/nixpkgs/trunk/; revision=114
This commit is contained in:
Eelco Dolstra 2003-07-04 19:50:24 +00:00
parent db92a6b313
commit 114e76b2a4
5 changed files with 20 additions and 0 deletions

9
pkgs/aterm/aterm.fix Normal file
View file

@ -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")
]
)

View file

@ -0,0 +1,8 @@
Function(["url", "hash"],
Package(
[ ("build", Relative("fetchurl/fetchurl.sh"))
, ("url", Var("url"))
, ("hash", Var("hash"))
]
)
)

View file

@ -0,0 +1,3 @@
#! /bin/sh
wget "$url" -O "$out"