Added new version of wx package for Haskell.
svn path=/nixpkgs/trunk/; revision=15444
This commit is contained in:
parent
393286fd47
commit
39ec9d91f4
@ -1,22 +0,0 @@
|
|||||||
{stdenv, fetchurl, unzip, ghc, wxGTK}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "wxHaskell-0.10.1-pre20070124";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = http://nixos.org/tarballs/wxhaskell-src-0.10.1-pre20070124.tar.bz2;
|
|
||||||
sha256 = "1cl0yd3blynjslzz05312bzg1dbymmj8pg88bhnr4p3rqxrlmhx9";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [unzip ghc wxGTK];
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
make wx
|
|
||||||
make wx-install
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://haskell.org/haskellwiki/WxHaskell;
|
|
||||||
description = "A portable and native GUI library for Haskell";
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,9 +1,10 @@
|
|||||||
{cabal}:
|
{cabal, stm, wxcore}:
|
||||||
|
|
||||||
cabal.mkDerivation (self : {
|
cabal.mkDerivation (self : {
|
||||||
pname = "wx";
|
pname = "wx";
|
||||||
version = "0.11.1.2";
|
version = "0.11.1.2";
|
||||||
sha256 = "68d550067ae190373142c51f3fa14bdf0a1516310aee9a37e28f9ac7cf3b8c6d";
|
sha256 = "d407e191391ec977552932ffbfc86ce7826b56208bbcbc1262d3fc65fe1c2337";
|
||||||
|
propagatedBuildInputs = [stm wxcore];
|
||||||
meta = {
|
meta = {
|
||||||
description = "wxHaskell";
|
description = "wxHaskell";
|
||||||
};
|
};
|
||||||
|
@ -282,12 +282,9 @@ rec {
|
|||||||
inherit cabal;
|
inherit cabal;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
wx = import ../development/libraries/haskell/wxHaskell/wx.nix {
|
||||||
wxHaskell = import ../development/libraries/haskell/wxHaskell {
|
inherit cabal stm wxcore;
|
||||||
inherit ghc;
|
|
||||||
inherit (pkgs) stdenv fetchurl unzip wxGTK;
|
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
|
|
||||||
wxcore = import ../development/libraries/haskell/wxHaskell/wxcore.nix {
|
wxcore = import ../development/libraries/haskell/wxHaskell/wxcore.nix {
|
||||||
inherit cabal time parsec stm;
|
inherit cabal time parsec stm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user