3
0
Fork 0
forked from mirrors/nixpkgs

hsc2hs moved to the right place

svn path=/nixpkgs/trunk/; revision=11249
This commit is contained in:
Marc Weber 2008-03-21 03:54:50 +00:00
parent 1061800db4
commit 94113ffd61

View file

@ -1,26 +0,0 @@
#TODO write a function (abstraction)
args: with args;
args.stdenv.mkDerivation {
name = "hsc2hs-darcs";
src = bleedingEdgeRepos.sourceByName "hsc2hs";
phases = "unpackPhase buildPhase";
buildPhase = ''
ghc --make Setup.*hs -o setup
ensureDir \out
nix_ghc_pkg_tool join local-pkg-db
./setup configure --prefix=$out --package-db=local-pkg-db
./setup build
./setup install
'';
buildInputs = (with args; [ghc] ++ libs);
meta = {
description = "automate some parts of the process of writing Haskell bindings to C code";
homepage = http://www.flapjax-lang.org/;
license = "BSD3";
};
}