* New-style Fix expressions.
svn path=/nixpkgs/trunk/; revision=114
This commit is contained in:
parent
db92a6b313
commit
114e76b2a4
5 changed files with 20 additions and 0 deletions
9
pkgs/aterm/aterm.fix
Normal file
9
pkgs/aterm/aterm.fix
Normal 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")
|
||||
]
|
||||
)
|
8
pkgs/fetchurl/fetchurl.fix
Normal file
8
pkgs/fetchurl/fetchurl.fix
Normal file
|
@ -0,0 +1,8 @@
|
|||
Function(["url", "hash"],
|
||||
Package(
|
||||
[ ("build", Relative("fetchurl/fetchurl.sh"))
|
||||
, ("url", Var("url"))
|
||||
, ("hash", Var("hash"))
|
||||
]
|
||||
)
|
||||
)
|
3
pkgs/fetchurl/fetchurl.sh
Normal file
3
pkgs/fetchurl/fetchurl.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#! /bin/sh
|
||||
|
||||
wget "$url" -O "$out"
|
Loading…
Reference in a new issue