nixpkgs/pkgs/development/libraries/haskell/get-options/default.nix
Marc Weber 5319704f80 removing old bleeding edge cruft replacing it by a niftier version using
source regions which are substituded by the tool nix-repository-manager.
See http://github.com/MarcWeber/nix-repository-manager/raw/master/README.

sourceByName is called sourceFromHead now.

updates: MPlayerTrunk, haxe, neko, netsurf, cinelerra, ctags
cinelerra does no longer build due to Xorg update

svn path=/nixpkgs/trunk/; revision=18894
2009-12-11 13:58:23 +00:00

16 lines
596 B
Nix

{cabal, fetchurl, sourceFromHead, mtl}:
cabal.mkDerivation (self : {
pname = "get-options";
version = "x"; # ?
name = self.fname;
# REGION AUTO UPDATE: { name="getOptions"; type="darcs"; url = "http://repetae.net/john/repos/GetOptions"; }
src = sourceFromHead "getOptions-nrmtag1.tar.gz"
(fetchurl { url = "http://mawercer.de/~nix/repos/getOptions-nrmtag1.tar.gz"; sha256 = "0e884687b2c676a5b7e79826a2236991cb045f794c5fd625813529a2b30224cd"; });
# END
extraBuildInputs = [ mtl ];
meta = {
description = "Simple to use get option library";
};
})