3
0
Fork 0
forked from mirrors/nixpkgs

Drop obsolete pre-NG Haskell builds.

This commit is contained in:
Peter Simons 2015-05-05 20:48:49 +02:00
parent e36427857d
commit 324719a5a6
56 changed files with 1 additions and 1988 deletions

View file

@ -1,30 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, c2hs, dataDefault, deepseq, filepath, hspec
, hspecExpectations, libmpd, mtl, ncurses, QuickCheck, time
, transformers, utf8String, wcwidth
}:
cabal.mkDerivation (self: {
pname = "vimus";
version = "0.2.0";
sha256 = "0s7hfyil9rnr9rmjb08g1l1sxybx3qdkw2f59p433fkdjp2m140h";
isLibrary = true;
isExecutable = true;
buildDepends = [
dataDefault deepseq filepath libmpd mtl time utf8String wcwidth
];
testDepends = [
dataDefault hspec hspecExpectations mtl QuickCheck transformers
wcwidth
];
buildTools = [ c2hs ];
extraLibraries = [ ncurses ];
meta = {
description = "An MPD client with vim-like key bindings";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ jzellner ];
broken = self.stdenv.isLinux && self.stdenv.isi686;
};
})

View file

@ -1,23 +0,0 @@
{ cabal, emacs, haskellMode, haskellSrcExts }:
cabal.mkDerivation (self: {
pname = "structured-haskell-mode";
version = "1.0.4";
sha256 = "1402wx27py7292ad7whsb13ywv71k36501jpfrn2p0v7knzknj8z";
isLibrary = false;
isExecutable = true;
buildDepends = [ haskellSrcExts haskellMode ];
buildTools = [ emacs ];
postInstall = ''
emacs -L elisp -L ${haskellMode}/share/emacs/site-lisp \
--batch -f batch-byte-compile "elisp/"*.el
install -d $out/share/emacs/site-lisp
install "elisp/"*.el "elisp/"*.elc $out/share/emacs/site-lisp
'';
meta = {
homepage = "https://github.com/chrisdone/structured-haskell-mode";
description = "Structured editing Emacs mode for Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,39 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, binary, Cabal, cautiousFile, dataDefault, derive, dlist
, dynamicState, dyre, exceptions, filepath, glib, gtk, hashable
, hint, HUnit, lens, mtl, ooPrototypes, pango, parsec, pointedlist
, QuickCheck, random, regexBase, regexTdfa, safe, semigroups, split
, tagged, tasty, tastyHunit, tastyQuickcheck, text, time
, transformersBase, unixCompat, unorderedContainers, utf8String
, vty, wordTrie, xdgBasedir, yiLanguage, yiRope
}:
cabal.mkDerivation (self: {
pname = "yi";
version = "0.11.1";
sha256 = "15m1wwrxmszl930az79lpgyz5rxg72gy8vi17ibpac1cszfdx192";
isLibrary = true;
isExecutable = true;
buildDepends = [
binary Cabal cautiousFile dataDefault derive dlist dynamicState
dyre exceptions filepath glib gtk hashable hint lens mtl
ooPrototypes pango parsec pointedlist QuickCheck random regexBase
regexTdfa safe semigroups split tagged text time transformersBase
unixCompat unorderedContainers utf8String vty wordTrie xdgBasedir
yiLanguage yiRope
];
testDepends = [
filepath HUnit lens QuickCheck semigroups tasty tastyHunit
tastyQuickcheck text yiLanguage yiRope
];
configureFlags = "-fpango -fvty";
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.8";
meta = {
homepage = http://haskell.org/haskellwiki/Yi;
description = "The Haskell-Scriptable Editor";
license = self.stdenv.lib.licenses.gpl2;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ];
};
})

View file

@ -1,22 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, cmdargs, configurator, dyre, filepath, hoodleCore, mtl }:
cabal.mkDerivation (self: {
pname = "hoodle";
version = "0.3";
sha256 = "01wz7bwdr3i43ikaiaq8vpn6b0clxjnjyaw6nl6zaq489dhj6fv5";
isLibrary = true;
isExecutable = true;
buildDepends = [
cmdargs configurator dyre filepath hoodleCore mtl
];
meta = {
homepage = "http://ianwookim.org/hoodle";
description = "Executable for hoodle";
license = self.stdenv.lib.licenses.gpl3;
platforms = self.ghc.meta.platforms;
hydraPlatforms = self.stdenv.lib.platforms.none;
maintainers = with self.stdenv.lib.maintainers; [ ianwookim ];
};
})

View file

@ -1,31 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, binary, bytestringProgress, deepseq, filepath
, HUnit, libXScrnSaver, parsec, pcreLight, processExtras, strict
, tasty, tastyGolden, tastyHunit, terminalProgressBar, time
, transformers, utf8String, X11
}:
cabal.mkDerivation (self: {
pname = "arbtt";
version = "0.8.1.4";
sha256 = "15ydb425nvqfzajx09q713wy5xa7awbzfjlsidk17vf7qbhfjn7z";
isLibrary = false;
isExecutable = true;
buildDepends = [
aeson binary bytestringProgress deepseq filepath parsec pcreLight
strict terminalProgressBar time transformers utf8String X11
];
testDepends = [
binary deepseq HUnit parsec pcreLight processExtras tasty
tastyGolden tastyHunit time transformers utf8String
];
extraLibraries = [ libXScrnSaver ];
jailbreak = true;
meta = {
homepage = "http://arbtt.nomeata.de/";
description = "Automatic Rule-Based Time Tracker";
license = "GPL";
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,18 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, attoparsec, gtk, hflags, lens, pipes, stm }:
cabal.mkDerivation (self: {
pname = "nc-indicators";
version = "0.3";
sha256 = "0w5nddirsib9vz96dpan9bgdg1mag9gaz7w7ix51l44ls9r8yn3m";
isLibrary = false;
isExecutable = true;
buildDepends = [ attoparsec gtk hflags lens pipes stm ];
meta = {
homepage = "https://github.com/nilcons/nc-indicators";
description = "CPU load and memory usage indicators for i3bar";
license = self.stdenv.lib.licenses.asl20;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,28 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, cairo, dbus, dyre, enclosedExceptions, filepath, gtk
, gtkTraymanager, HStringTemplate, HTTP, mtl, network, networkUri
, parsec, safe, split, stm, text, time, transformers, utf8String
, X11, xdgBasedir, xmonad, xmonadContrib
}:
cabal.mkDerivation (self: {
pname = "taffybar";
version = "0.4.4";
sha256 = "046nfp878mqj9acsid94mqp8q1yqnm1hsdkv88m5qpmn182xljwh";
isLibrary = true;
isExecutable = true;
buildDepends = [
cairo dbus dyre enclosedExceptions filepath gtk gtkTraymanager
HStringTemplate HTTP mtl network networkUri parsec safe split stm
text time transformers utf8String X11 xdgBasedir xmonad
xmonadContrib
];
pkgconfigDepends = [ gtk ];
meta = {
homepage = "http://github.com/travitch/taffybar";
description = "A desktop bar similar to xmobar, but with more GUI";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,28 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, alsaCore, alsaMixer, dbus, filepath, hinotify, HTTP
, libmpd, libXpm, libXrandr, mtl, parsec, regexCompat, stm, time
, timezoneOlson, timezoneSeries, transformers, utf8String
, wirelesstools, X11, X11Xft
}:
cabal.mkDerivation (self: {
pname = "xmobar";
version = "0.22.1";
sha256 = "0mnwwcfk0xf4fi3cnw19s6lxcg8sbsdlvg7zwvf5xf0y9q365swz";
isLibrary = false;
isExecutable = true;
buildDepends = [
alsaCore alsaMixer dbus filepath hinotify HTTP libmpd mtl parsec
regexCompat stm time timezoneOlson timezoneSeries transformers
utf8String X11 X11Xft
];
extraLibraries = [ libXpm libXrandr wirelesstools ];
configureFlags = "-fall_extensions";
meta = {
homepage = "http://xmobar.org";
description = "A Minimalistic Text Based Status Bar";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.stdenv.lib.platforms.linux;
};
})

View file

@ -1,18 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, filepath, strict, time, xdgBasedir }:
cabal.mkDerivation (self: {
pname = "yeganesh";
version = "2.5";
sha256 = "1bgw5v1g5n06jj0lyxpf48mdpaa2s49g0lbagf3jf9q01rb92bvf";
isLibrary = false;
isExecutable = true;
buildDepends = [ filepath strict time xdgBasedir ];
meta = {
homepage = "http://dmwit.com/yeganesh";
description = "small dmenu wrapper";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,19 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, Cabal, Decimal, hledgerLib, mtl, time }:
cabal.mkDerivation (self: {
pname = "hledger-interest";
version = "1.4.4";
sha256 = "16knk1cwrpg5jn6vgcab7hqpjzg33ysz57x1f2glrmhhv1slmbfn";
isLibrary = false;
isExecutable = true;
buildDepends = [ Cabal Decimal hledgerLib mtl time ];
meta = {
homepage = "http://github.com/peti/hledger-interest";
description = "computes interest for a given account";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ simons ];
};
})

View file

@ -1,18 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, Cabal, hledgerLib, statistics, time }:
cabal.mkDerivation (self: {
pname = "hledger-irr";
version = "0.1.1.4";
sha256 = "0nqd8br86d71dpwq7p8956q74pgqdimid42xikp9zvf632x2s8ax";
isLibrary = false;
isExecutable = true;
buildDepends = [ Cabal hledgerLib statistics time ];
meta = {
description = "computes the internal rate of return of an investment";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
broken = true;
};
})

View file

@ -1,28 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, ansiTerminal, cereal, downloadCurl, filepath, HTTP
, network, optparseApplicative, terminalSize, text, zlib
}:
cabal.mkDerivation (self: {
pname = "sloane";
version = "1.9.3";
sha256 = "0xl3dmi6czwfbi17742hqxf3d6sl9dci08qszrkdmasnvivakg78";
isLibrary = false;
isExecutable = true;
buildDepends = [
ansiTerminal cereal downloadCurl filepath HTTP network
optparseApplicative terminalSize text zlib
];
postInstall = ''
mkdir -p $out/share/man/man1
cp sloane.1 $out/share/man/man1/
'';
meta = {
homepage = "http://github.com/akc/sloane";
description = "A command line interface to Sloane's On-Line Encyclopedia of Integer Sequences";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ akc ];
};
})

View file

@ -1,56 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, async, aws, blazeBuilder, bloomfilter, bup
, byteable, caseInsensitive, clientsession, conduit, conduitExtra
, cryptoApi, cryptohash, curl, dataDefault, dataenc, DAV, dbus
, dlist, dns, editDistance, exceptions, fdoNotify, feed, filepath
, git, gnupg1, gnutls, hamlet, hinotify, hslogger, httpClient
, httpConduit, httpTypes, IfElse, json, lsof, MissingH
, monadControl, mtl, network, networkInfo, networkMulticast
, networkProtocolXmpp, networkUri, openssh, optparseApplicative
, pathPieces, perl, QuickCheck, random, regexTdfa, resourcet, rsync
, SafeSemaphore, securemem, SHA, shakespeare, stm, tasty
, tastyHunit, tastyQuickcheck, tastyRerun, text, time, torrent
, transformers, unixCompat, utf8String, uuid, wai, waiExtra, warp
, warpTls, wget, which, xmlTypes, yesod, yesodCore, yesodDefault
, yesodForm, yesodStatic
}:
cabal.mkDerivation (self: {
pname = "git-annex";
version = "5.20141231";
sha256 = "0rrwaclc3mpn39087fs5pgn0axjp5mki0nhj9a3fjjchdwd8wzyf";
isLibrary = false;
isExecutable = true;
buildDepends = [
aeson async aws blazeBuilder bloomfilter byteable caseInsensitive
clientsession conduit conduitExtra cryptoApi cryptohash dataDefault
dataenc DAV dbus dlist dns editDistance exceptions fdoNotify feed
filepath gnutls hamlet hinotify hslogger httpClient httpConduit
httpTypes IfElse json MissingH monadControl mtl network networkInfo
networkMulticast networkProtocolXmpp networkUri optparseApplicative
pathPieces QuickCheck random regexTdfa resourcet SafeSemaphore
securemem SHA shakespeare stm tasty tastyHunit tastyQuickcheck
tastyRerun text time torrent transformers unixCompat utf8String
uuid wai waiExtra warp warpTls xmlTypes yesod yesodCore
yesodDefault yesodForm yesodStatic
];
buildTools = [
bup curl git gnupg1 lsof openssh perl rsync wget which
];
configureFlags = "-fAssistant -fProduction";
preConfigure = "export HOME=$TEMPDIR";
installPhase = "./Setup install";
checkPhase = ''
cp dist/build/git-annex/git-annex git-annex
./git-annex test
'';
propagatedUserEnvPkgs = [git lsof];
meta = {
homepage = "http://git-annex.branchable.com/";
description = "manage files with git, without checking their contents into git";
license = self.stdenv.lib.licenses.gpl3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ simons ];
};
})

View file

@ -1,26 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, exceptions, filepath, git, github, hslogger, IfElse
, MissingH, mtl, network, networkUri, optparseApplicative
, prettyShow, text, transformers, unixCompat
}:
cabal.mkDerivation (self: {
pname = "github-backup";
version = "1.20141204";
sha256 = "0asj0ix81k6vi95rwlhs7ikk936lzfsav4gw0gvyzf31ggmf4j4c";
isLibrary = false;
isExecutable = true;
buildDepends = [
exceptions filepath github hslogger IfElse MissingH mtl network
networkUri optparseApplicative prettyShow text transformers
unixCompat
];
buildTools = [ git ];
meta = {
homepage = "https://github.com/joeyh/github-backup";
description = "backs up everything github knows about a repository, to the repository";
license = "GPL";
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,30 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, extensibleExceptions, filepath, mtl, utf8String, X11 }:
cabal.mkDerivation (self: {
pname = "xmonad";
version = "0.11";
sha256 = "1nsv88y2b206n3s5hrsp5ginvz1bj818ns7jmikavb2g33akdgg5";
isLibrary = true;
isExecutable = true;
buildDepends = [
extensibleExceptions filepath mtl utf8String X11
];
postInstall = ''
shopt -s globstar
mkdir -p $out/share/man/man1
mv "$out/"**"/man/"*.1 $out/share/man/man1/
'';
patches = [
# Patch to make xmonad use XMONAD_{GHC,XMESSAGE} (if available).
../../../development/haskell-modules/xmonad-nix.patch
];
meta = {
homepage = "http://xmonad.org";
description = "A tiling window manager";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View file

@ -1,21 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, extensibleExceptions, mtl, random, utf8String, X11, X11Xft
, xmonad
}:
cabal.mkDerivation (self: {
pname = "xmonad-contrib";
version = "0.11.3";
sha256 = "14h9vr33yljymswj50wbimav263y9abdcgi07mvfis0zd08rxqxa";
buildDepends = [
extensibleExceptions mtl random utf8String X11 X11Xft xmonad
];
meta = {
homepage = "http://xmonad.org/";
description = "Third party extensions for xmonad";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ simons ];
};
})

View file

@ -1,24 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, hint, libmpd, mtl, network, parsec, random, regexPosix
, split, X11, xmonad, xmonadContrib
}:
cabal.mkDerivation (self: {
pname = "xmonad-extras";
version = "0.12";
sha256 = "1gyj9j6x21rvs6kg6g74wr0jdd36c5ml63a670456fhjr96s8y0g";
buildDepends = [
hint libmpd mtl network parsec random regexPosix split X11 xmonad
xmonadContrib
];
configureFlags = "-f-with_hlist -fwith_split -fwith_parsec";
jailbreak = true;
meta = {
homepage = "http://projects.haskell.org/xmonad-extras";
description = "Third party extensions for xmonad with wacky dependencies";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ simons ];
};
})

View file

@ -1,330 +0,0 @@
# generic builder for Cabal packages
{ stdenv, fetchurl, lib, pkgconfig, ghc, Cabal, jailbreakCabal, glibcLocales
, gnugrep, coreutils, hscolour, cpphs
, enableLibraryProfiling ? false
, enableSharedLibraries ? false
, enableSharedExecutables ? false
, enableStaticLibraries ? true
, enableCheckPhase ? stdenv.lib.versionOlder "7.4" ghc.version
, enableHyperlinkSource ? true
, enableCpphs ? false
, extension ? (self : super : {})
}:
let
enableFeature = stdenv.lib.enableFeature;
versionOlder = stdenv.lib.versionOlder;
optional = stdenv.lib.optional;
optionals = stdenv.lib.optionals;
optionalString = stdenv.lib.optionalString;
filter = stdenv.lib.filter;
defaultSetupHs = builtins.toFile "Setup.hs" ''
import Distribution.Simple
main = defaultMain
'';
in
# Cabal shipped with GHC 6.12.4 or earlier doesn't know the "--enable-tests configure" flag.
assert enableCheckPhase -> versionOlder "7" ghc.version;
# GHC prior to 7.4.x doesn't know the "--enable-executable-dynamic" flag.
assert enableSharedExecutables -> versionOlder "7.4" ghc.version;
# Our GHC 6.10.x builds do not provide sharable versions of their core libraries.
assert enableSharedLibraries -> versionOlder "6.12" ghc.version;
# Pure shared library builds don't work before GHC 7.8.x.
assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
{
mkDerivation =
args : # arguments for the individual package, can modify the defaults
let # These attributes are removed in the end. This is in order not to spoil the build
# environment overly, but also to keep hash-backwards-compatible with the old cabal.nix.
internalAttrs = [
"internalAttrs" "buildDepends" "buildTools" "extraLibraries" "pkgconfigDepends"
"isLibrary" "isExecutable" "testDepends"
];
# Stuff happening after the user preferences have been processed. We remove
# internal attributes and strip null elements from the dependency lists, all
# in the interest of keeping hashes stable.
postprocess =
x : (removeAttrs x internalAttrs) // {
buildInputs = filter (y : ! (y == null)) x.buildInputs;
propagatedBuildInputs = filter (y : ! (y == null)) x.propagatedBuildInputs;
propagatedUserEnvPkgs = filter (y : ! (y == null)) x.propagatedUserEnvPkgs;
doCheck = enableCheckPhase && x.doCheck;
useCpphs = enableCpphs && x.useCpphs;
hyperlinkSource = enableHyperlinkSource && x.hyperlinkSource;
# Disable Darwin builds: <https://github.com/NixOS/nixpkgs/issues/2689>.
meta = let meta = x.meta or {};
hydraPlatforms = meta.hydraPlatforms or meta.platforms or [];
noElem = p: ps: !stdenv.lib.elem p ps;
noDarwin = p: noElem p stdenv.lib.platforms.darwin;
in
meta // { hydraPlatforms = filter noDarwin hydraPlatforms; };
};
defaults =
self : { # self is the final version of the attribute set
# pname should be defined by the client to be the package basename
# version should be defined by the client to be the package version
# fname is the internal full name of the package
fname = "${self.pname}-${self.version}";
# name is the external full name of the package; usually we prefix
# all packages with haskell- to avoid name clashes for libraries;
# if that is not desired (for applications), name can be set to
# fname.
name = if self.isLibrary then
if enableLibraryProfiling && self.enableSharedLibraries then
"haskell-${self.pname}-ghc${ghc.ghc.version}-${self.version}-profiling-shared"
else if enableLibraryProfiling && !self.enableSharedLibraries then
"haskell-${self.pname}-ghc${ghc.ghc.version}-${self.version}-profiling"
else if !enableLibraryProfiling && self.enableSharedLibraries then
"haskell-${self.pname}-ghc${ghc.ghc.version}-${self.version}-shared"
else
"haskell-${self.pname}-ghc${ghc.ghc.version}-${self.version}"
else
"${self.pname}-${self.version}";
# the default download location for Cabal packages is Hackage,
# you still have to specify the checksum
src = fetchurl {
url = "mirror://hackage/${self.pname}/${self.fname}.tar.gz";
inherit (self) sha256;
};
# default buildInputs are just ghc, if more buildInputs are required
# buildInputs can be extended by the client by using extraBuildInputs,
# but often propagatedBuildInputs is preferable anyway
buildInputs = [ghc Cabal] ++ self.extraBuildInputs;
extraBuildInputs = self.buildTools ++
(optionals self.doCheck self.testDepends) ++
(optional self.hyperlinkSource hscolour) ++
(optional self.useCpphs cpphs) ++
(if self.pkgconfigDepends == [] then [] else [pkgconfig]) ++
(if self.isLibrary then [] else self.buildDepends ++ self.extraLibraries ++ self.pkgconfigDepends);
# we make sure that propagatedBuildInputs is defined, so that we don't
# have to check for its existence
propagatedBuildInputs = if self.isLibrary then self.buildDepends ++ self.extraLibraries ++ self.pkgconfigDepends else [];
# By default, also propagate all dependencies to the user environment. This is required, otherwise packages would be broken, because
# GHC also needs all dependencies to be available.
propagatedUserEnvPkgs = if self.isLibrary then self.buildDepends else [];
# library directories that have to be added to the Cabal files
extraLibDirs = [];
# build-depends Cabal field
buildDepends = [];
# target(s) passed to the cabal build phase as an argument
buildTarget = "";
# build-depends Cabal fields stated in test-suite stanzas
testDepends = [];
# target(s) passed to the cabal test phase as an argument
testTarget = "";
# build-tools Cabal field
buildTools = [];
# extra-libraries Cabal field
extraLibraries = [];
# pkgconfig-depends Cabal field
pkgconfigDepends = [];
isLibrary = ! self.isExecutable;
isExecutable = false;
# ignore version restrictions on the build inputs that the cabal file might specify
jailbreak = false;
# pass the '--enable-split-objs' flag to cabal in the configure stage
enableSplitObjs = !stdenv.isDarwin; # http://hackage.haskell.org/trac/ghc/ticket/4013
# pass the '--enable-tests' flag to cabal in the configure stage
# and run any regression test suites the package might have
doCheck = enableCheckPhase;
# force cpphs instead of the C compiler's preprocessor; sometimes
# needed due to clang's wacky behavior
useCpphs = false;
# pass the '--hyperlink-source' flag to ./Setup haddock
hyperlinkSource = enableHyperlinkSource;
# abort the build if the configure phase detects that the package
# depends on multiple versions of the same build input
strictConfigurePhase = true;
# pass the '--enable-library-vanilla' flag to cabal in the
# configure stage to enable building shared libraries
inherit enableStaticLibraries;
# pass the '--enable-shared' flag to cabal in the configure
# stage to enable building shared libraries
inherit enableSharedLibraries;
# pass the '--enable-executable-dynamic' flag to cabal in
# the configure stage to enable linking shared libraries
inherit enableSharedExecutables;
extraConfigureFlags = [
(enableFeature self.enableSplitObjs "split-objs")
(enableFeature enableLibraryProfiling "library-profiling")
(enableFeature self.enableSharedLibraries "shared")
(optional (versionOlder "7" ghc.version) (enableFeature self.enableStaticLibraries "library-vanilla"))
(optional (versionOlder "7.4" ghc.version) (enableFeature self.enableSharedExecutables "executable-dynamic"))
(optional (versionOlder "7" ghc.version) (enableFeature self.doCheck "tests"))
];
# GHC needs the locale configured during the Haddock phase.
LANG = "en_US.UTF-8";
LOCALE_ARCHIVE = optionalString stdenv.isLinux "${glibcLocales}/lib/locale/locale-archive";
# compiles Setup and configures
configurePhase = ''
eval "$preConfigure"
${let newCabalFile = fetchurl {
url = "http://hackage.haskell.org/package/${self.fname}/${self.pname}.cabal";
sha256 = self.editedCabalFile;
};
in
optionalString (self.editedCabalFile or "" != "") ''
echo "Replace Cabal file with edited version ${newCabalFile}."
cp ${newCabalFile} ${self.pname}.cabal
''
}${optionalString self.jailbreak "${jailbreakCabal}/bin/jailbreak-cabal ${self.pname}.cabal"}
for i in Setup.hs Setup.lhs ${defaultSetupHs}; do
test -f $i && break
done
ghc --make -o Setup -odir $TMPDIR -hidir $TMPDIR $i
for p in $extraBuildInputs $propagatedNativeBuildInputs; do
if [ -d "$p/lib/ghc-${ghc.ghc.version}/package.conf.d" ]; then
# Haskell packages don't need any extra configuration.
continue;
fi
if [ -d "$p/include" ]; then
extraConfigureFlags+=" --extra-include-dirs=$p/include"
fi
for d in lib{,64}; do
if [ -d "$p/$d" ]; then
extraConfigureFlags+=" --extra-lib-dirs=$p/$d"
fi
done
done
configureFlags+=" --with-gcc=$CC"
${optionalString (self.enableSharedExecutables && self.stdenv.isLinux) ''
configureFlags+=" --ghc-option=-optl=-Wl,-rpath=$out/lib/${ghc.ghc.name}/${self.pname}-${self.version}"
''}
${optionalString (self.enableSharedExecutables && self.stdenv.isDarwin) ''
configureFlags+=" --ghc-option=-optl=-Wl,-headerpad_max_install_names"
''}
${optionalString (versionOlder "7.8" ghc.version && !self.isLibrary) ''
configureFlags+=" --ghc-option=-j$NIX_BUILD_CORES"
''}
${optionalString self.useCpphs ''
configureFlags+=" --ghc-option=-pgmPcpphs --ghc-option=-optP--cpp"
''}
${optionalString self.stdenv.isDarwin ''
configureFlags+=" --with-gcc=clang"
''}
echo "configure flags: $extraConfigureFlags $configureFlags"
./Setup configure --verbose --prefix="$out" --libdir='$prefix/lib/$compiler' \
--libsubdir='$pkgid' $extraConfigureFlags $configureFlags 2>&1 \
${optionalString self.strictConfigurePhase ''
| ${coreutils}/bin/tee "$NIX_BUILD_TOP/cabal-configure.log"
if ${gnugrep}/bin/egrep -q '^Warning:.*depends on multiple versions' "$NIX_BUILD_TOP/cabal-configure.log"; then
echo >&2 "*** abort because of serious configure-time warning from Cabal"
exit 1
fi
''}
eval "$postConfigure"
'';
# builds via Cabal
buildPhase = ''
eval "$preBuild"
./Setup build ${self.buildTarget}
export GHC_PACKAGE_PATH=$(${ghc.GHCPackages})
test -n "$noHaddock" || ./Setup haddock --html --hoogle \
${optionalString (stdenv.lib.versionOlder "6.12" ghc.version) "--ghc-options=-optP-P"} \
${optionalString self.hyperlinkSource "--hyperlink-source"} \
${optionalString self.useCpphs ''
--haddock-options="--optghc=-pgmPcpphs --optghc=-optP--cpp"
''}
eval "$postBuild"
'';
checkPhase = optional self.doCheck ''
eval "$preCheck"
./Setup test ${self.testTarget}
eval "$postCheck"
'';
# installs via Cabal; creates a registration file for nix-support
# so that the package can be used in other Haskell-builds; also
# adds all propagated build inputs to the user environment packages
installPhase = ''
eval "$preInstall"
./Setup copy
mkdir -p $out/bin # necessary to get it added to PATH
local confDir=$out/lib/ghc-${ghc.ghc.version}/package.conf.d
local installedPkgConf=$confDir/${self.fname}.installedconf
local pkgConf=$confDir/${self.fname}.conf
mkdir -p $confDir
./Setup register --gen-pkg-config=$pkgConf
if test -f $pkgConf; then
echo '[]' > $installedPkgConf
GHC_PACKAGE_PATH=$installedPkgConf ghc-pkg --global register $pkgConf --force
fi
if test -f $out/nix-support/propagated-native-build-inputs; then
ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages
fi
${optionalString (self.enableSharedExecutables && self.isExecutable && self.stdenv.isDarwin) ''
for exe in "$out/bin/"* ; do
install_name_tool -add_rpath \
$out/lib/${ghc.ghc.name}/${self.pname}-${self.version} $exe
done
''}
eval "$postInstall"
'';
# We inherit stdenv and ghc so that they can be used
# in Cabal derivations.
inherit stdenv ghc;
};
in
stdenv.mkDerivation (postprocess (let super = defaults self // args self;
self = super // extension self super;
in self));
}

View file

@ -1,36 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, alex, binary, boxes, cpphs, dataHash, deepseq, emacs
, equivalence, filepath, geniplate, happy, hashable, hashtables
, haskeline, haskellSrcExts, mtl, parallel, QuickCheck
, STMonadTrans, strict, text, time, transformers
, unorderedContainers, xhtml, zlib
}:
cabal.mkDerivation (self: {
pname = "Agda";
version = "2.4.2.2";
sha256 = "1hxvapnvlkx6imifswc70ng869zll0zfsygivhc2mjyhaiv10i13";
isLibrary = true;
isExecutable = true;
buildDepends = [
binary boxes dataHash deepseq equivalence filepath geniplate
hashable hashtables haskeline haskellSrcExts mtl parallel
QuickCheck STMonadTrans strict text time transformers
unorderedContainers xhtml zlib
];
buildTools = [ alex cpphs emacs happy ];
noHaddock = true;
jailbreak = true;
postInstall = ''
$out/bin/agda -c --no-main $(find $out/share -name Primitive.agda)
$out/bin/agda-mode compile
'';
meta = {
homepage = "http://wiki.portal.chalmers.se/agda/";
description = "A dependently typed functional programming language and proof assistant";
license = "unknown";
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ];
};
})

View file

@ -1,33 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, bifunctors, clashLib, clashPrelude, filepath, ghcPaths
, hashable, haskeline, lens, makeWrapper, mtl, text, transformers, unbound
, unorderedContainers, thLift
}:
cabal.mkDerivation (self: {
pname = "clash-ghc";
version = "0.4";
sha256 = "0pyv8snrmy7x9gv6xna5rd5chacrdvczcjs7854b80pifhag5c2g";
isLibrary = false;
isExecutable = true;
buildDepends = [
bifunctors clashLib clashPrelude filepath ghcPaths hashable
haskeline lens mtl text transformers unbound unorderedContainers
thLift
];
buildTools = [ makeWrapper ];
postInstall = ''
echo ${clashPrelude}
wrapProgram $out/bin/clash \
--add-flags "-package-db ${clashPrelude}/lib/ghc-${self.ghc.version}/package.conf.d/${clashPrelude.fname}.installedconf" \
--add-flags "-package-db ${thLift}/lib/ghc-${self.ghc.version}/package.conf.d/${thLift.fname}.installedconf" \
--add-flags "\$(${self.ghc.GHCGetPackages} ${self.ghc.version} \"\$(dirname \$0)\" \"-package-db\")"
'';
meta = {
homepage = "http://christiaanb.github.io/clash2";
description = "CAES Language for Synchronous Hardware";
license = "unknown";
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,34 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, aesonPretty, binary, blazeHtml, blazeMarkup
, cmdargs, filemanip, filepath, HUnit, indents, languageEcmascript
, languageGlsl, mtl, parsec, QuickCheck, testFramework
, testFrameworkHunit, testFrameworkQuickcheck2, text, transformers
, unionFind, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "elm-compiler";
version = "0.14.1";
sha256 = "0my04mipgia5qw02nzzrzc4kq3vl7bv75rzrsmd2bdb2wll1k94f";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filepath
indents languageEcmascript languageGlsl mtl parsec text
transformers unionFind unorderedContainers
];
testDepends = [
aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filemanip
filepath HUnit indents languageEcmascript languageGlsl mtl parsec
QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2 text transformers unionFind
unorderedContainers
];
meta = {
homepage = "http://elm-lang.org";
description = "Values to help with elm-package, elm-make, and elm-lang.org";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,25 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, aesonPretty, ansiWlPprint, binary, Elm, filepath
, HTTP, httpClient, httpClientTls, httpTypes, mtl, network
, optparseApplicative, vector
}:
cabal.mkDerivation (self: {
pname = "elm-get";
version = "0.1.3";
sha256 = "1did7vjd1h2kh5alndd2b63zi8b1m9hf6k1k75yxwvw6f6mz5i4q";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson aesonPretty ansiWlPprint binary Elm filepath HTTP httpClient
httpClientTls httpTypes mtl network optparseApplicative vector
];
jailbreak = true;
meta = {
homepage = "http://github.com/elm-lang/elm-get";
description = "Tool for sharing and using Elm libraries";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,23 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, ansiWlPprint, binary, blazeHtml, blazeMarkup, elmCompiler
, elmPackage, filepath, mtl, optparseApplicative, text
}:
cabal.mkDerivation (self: {
pname = "elm-make";
version = "0.1.1";
sha256 = "02mqr6v146piwrhycnmlxnky5bmsl7ap7781qmcwkfmc89wfa4zl";
isLibrary = false;
isExecutable = true;
buildDepends = [
ansiWlPprint binary blazeHtml blazeMarkup elmCompiler elmPackage
filepath mtl optparseApplicative text
];
meta = {
homepage = "http://elm-lang.org";
description = "A build tool for Elm projects";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,26 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, aesonPretty, ansiWlPprint, binary, elmCompiler
, filepath, HTTP, httpClient, httpClientTls, httpTypes, mtl
, network, optparseApplicative, text, time, unorderedContainers
, vector, zipArchive
}:
cabal.mkDerivation (self: {
pname = "elm-package";
version = "0.4";
sha256 = "0vsq87imyvs1sa2n4z41b6qswy2cknxsg4prhwc9r7lvyljkmn03";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson aesonPretty ansiWlPprint binary elmCompiler filepath HTTP
httpClient httpClientTls httpTypes mtl network optparseApplicative
text time unorderedContainers vector zipArchive
];
meta = {
homepage = "http://github.com/elm-lang/elm-package";
description = "Package manager for Elm libraries";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,6 +0,0 @@
{
"evancz/virtual-dom": "1.1.0",
"evancz/elm-markdown": "1.1.2",
"evancz/elm-html": "1.1.0",
"elm-lang/core": "1.1.0"
}

View file

@ -1,68 +0,0 @@
{ unzip, fetchurl, fetchFromGitHub, cabal, blazeHtml, blazeMarkup, cmdargs, elmCompiler, elmMake, filepath
, fsnotify, HTTP, mtl, snapCore, snapServer, systemFilepath, text
, time, transformers, unorderedContainers, websockets
, websocketsSnap
}:
cabal.mkDerivation (self: rec {
pname = "elm-reactor";
version = "0.3";
isLibrary = false;
isExecutable = true;
buildTools = [ unzip ];
src = fetchFromGitHub {
owner = "elm-lang";
repo = "elm-reactor";
rev = "176ff8e05e4bb7474752da1b3455c83d6181d594";
sha256 = "1marjqlmmq3a74g9f3ngk90h9mkhillcdwfsys6x0nqj6qirw4ph";
};
elmLangCore = fetchurl {
url = "https://github.com/elm-lang/core/archive/1.1.0.zip";
sha256 = "1fhvghjsay1p82k13039wbd02k439yplv2rh9zr77zvcbih6a31j";
};
elmHtml = fetchurl {
url = "https://github.com/evancz/elm-html/archive/1.1.0.zip";
sha256 = "01wshabxsdrxcxs2nn3dhk7n8720sp3prpkahhx36vvprdh05l4q";
};
elmMarkdown = fetchurl {
url = "https://github.com/evancz/elm-markdown/archive/1.1.2.zip";
sha256 = "14y1wp28za50zypdzyvl5d57hkm0v3rgnzm5klv3jcbd625kr9bg";
};
virtualDom = fetchurl {
url = "https://github.com/evancz/virtual-dom/archive/1.1.0.zip";
sha256 = "08dr7q0x1ycgj5b15s2kn1a45iw350gzq65c3lxp47xfffq1vz91";
};
elmStuff = ./elm-reactor-exact-dependencies.json;
preConfigure = ''
unzip -d $TEMPDIR -q ${elmLangCore}
mkdir -p elm-stuff/packages/elm-lang/core/1.1.0
cp -pr $TEMPDIR/core-1.1.0/* elm-stuff/packages/elm-lang/core/1.1.0/
unzip -d $TEMPDIR -q ${elmHtml}
mkdir -p elm-stuff/packages/evancz/elm-html/1.1.0
cp -pr $TEMPDIR/elm-html-1.1.0/* elm-stuff/packages/evancz/elm-html/1.1.0
unzip -d $TEMPDIR -q ${elmMarkdown}
mkdir -p elm-stuff/packages/evancz/elm-markdown/1.1.2
cp -pr $TEMPDIR/elm-markdown-1.1.2/* elm-stuff/packages/evancz/elm-markdown/1.1.2
unzip -d $TEMPDIR -q ${virtualDom}
mkdir -p elm-stuff/packages/evancz/virtual-dom/1.1.0
cp -pr $TEMPDIR/virtual-dom-1.1.0/* elm-stuff/packages/evancz/virtual-dom/1.1.0
cp ${elmStuff} elm-stuff/exact-dependencies.json
'';
buildDepends = [
blazeHtml blazeMarkup cmdargs elmCompiler filepath fsnotify HTTP
mtl snapCore snapServer systemFilepath text time transformers
unorderedContainers websockets websocketsSnap elmMake
];
meta = {
homepage = "http://elm-lang.org";
description = "Interactive development tool for Elm programs";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,28 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, bytestringTrie, cmdargs, Elm, filepath, haskeline, HUnit
, mtl, parsec, QuickCheck, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2
}:
cabal.mkDerivation (self: {
pname = "elm-repl";
version = "0.3";
sha256 = "10a4a2ybg5dlshpklnisb957lknb0w8s3ppaq5p5y6ylqik8ak0a";
isLibrary = false;
isExecutable = true;
buildDepends = [
bytestringTrie cmdargs Elm filepath haskeline mtl parsec
];
testDepends = [
bytestringTrie cmdargs Elm filepath haskeline HUnit mtl parsec
QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2
];
meta = {
homepage = "https://github.com/elm-lang/elm-repl";
description = "a REPL for Elm";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,23 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, cmdargs, Elm, filepath, mtl, snapCore, snapServer
, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "elm-server";
version = "0.11.0.1";
sha256 = "0nnkhmmm4cl6a314xxh5qwxkjsc3k3vcwdfar62578ykarxb53g1";
isLibrary = false;
isExecutable = true;
buildDepends = [
cmdargs Elm filepath mtl snapCore snapServer unorderedContainers
];
jailbreak = true;
meta = {
homepage = "http://elm-lang.org";
description = "Server for developing Elm projects";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,40 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, aesonPretty, binary, blazeHtml, blazeMarkup
, cheapskate, cmdargs, filemanip, filepath, highlightingKate, HUnit
, indents, languageEcmascript, languageGlsl, mtl, parsec
, QuickCheck, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2, text, transformers, unionFind
, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "Elm";
version = "0.13";
sha256 = "1l6p00h0717blwvia0gvqpsakq8jy44fxc6brr4qxs5g4yjcjnmh";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson aesonPretty binary blazeHtml blazeMarkup cheapskate cmdargs
filepath highlightingKate indents languageEcmascript languageGlsl
mtl parsec text transformers unionFind unorderedContainers
];
testDepends = [
aeson aesonPretty binary blazeHtml blazeMarkup cheapskate cmdargs
filemanip filepath highlightingKate HUnit indents
languageEcmascript languageGlsl mtl parsec QuickCheck testFramework
testFrameworkHunit testFrameworkQuickcheck2 text transformers
unionFind unorderedContainers
];
doCheck = false;
preConfigure = ''
rm -f Setup.hs
echo -e "import Distribution.Simple\nmain=defaultMain\n" > Setup.hs
'';
meta = {
homepage = "http://elm-lang.org";
description = "The Elm language module";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,20 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, boehmgc, Cabal, gmp, happy, mtl }:
cabal.mkDerivation (self: {
pname = "epic";
version = "0.9.3.2";
sha256 = "1l73absns4ci20brkdjg1r1l9p4xxx88vax736diqik7rl7zrx9h";
isLibrary = true;
isExecutable = true;
buildDepends = [ Cabal mtl ];
buildTools = [ happy ];
extraLibraries = [ boehmgc gmp ];
meta = {
homepage = "http://www.dcs.st-and.ac.uk/~eb/epic.php";
description = "Compiler for a simple functional language";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,34 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, annotatedWlPprint, ansiTerminal, ansiWlPprint
, base64Bytestring, binary, blazeHtml, blazeMarkup, boehmgc
, cheapskate, deepseq, filepath, fingertree, gmp, happy, haskeline
, lens, libffi, mtl, network, optparseApplicative, parsers, split
, text, time, transformers, trifecta, unorderedContainers
, utf8String, vector, vectorBinaryInstances, xml, zlib
}:
cabal.mkDerivation (self: {
pname = "idris";
version = "0.9.15.1";
sha256 = "0r31jcqs9kgknm66v7bbcgj9md7z49sgvn0nhk1dwg8jj2rmfll8";
isLibrary = true;
isExecutable = true;
buildDepends = [
annotatedWlPprint ansiTerminal ansiWlPprint base64Bytestring binary
blazeHtml blazeMarkup cheapskate deepseq filepath fingertree
haskeline lens libffi mtl network optparseApplicative parsers split
text time transformers trifecta unorderedContainers utf8String
vector vectorBinaryInstances xml zlib
];
buildTools = [ happy ];
extraLibraries = [ boehmgc gmp ];
configureFlags = "-fgmp -fffi";
jailbreak = true;
meta = {
homepage = "http://www.idris-lang.org/";
description = "Functional Programming Language with Dependent Types";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,11 +0,0 @@
{ stdenv, gmp, makeWrapper, runCommand, idris_plain, boehmgc}:
runCommand "idris-wrapper" {} ''
source ${makeWrapper}/nix-support/setup-hook
mkdir -p $out/bin
ln -s ${idris_plain}/bin/idris $out/bin
wrapProgram $out/bin/idris \
--suffix NIX_CFLAGS_COMPILE : '"-I${gmp}/include -L${gmp}/lib -L${boehmgc}/lib"' \
--suffix PATH : ${stdenv.cc}/bin \
--suffix PATH : ${idris_plain}/bin
''

View file

@ -1,43 +0,0 @@
diff -Naur pakcs-1.11.4-upstream/Makefile pakcs-1.11.4/Makefile
--- pakcs-1.11.4-upstream/Makefile 2014-10-24 05:12:37.000000000 -0430
+++ pakcs-1.11.4/Makefile 2015-01-05 16:26:39.256709080 -0430
@@ -94,7 +94,6 @@
install: cleanoldinfos installscripts copylibs
@echo "PAKCS installation configuration (file pakcsinitrc):"
@cat pakcsinitrc
- $(MAKE) frontend
# pre-compile all libraries:
@cd lib && $(MAKE) fcy
# install the Curry2Prolog compiler as a saved system:
@@ -145,10 +144,6 @@
# compile the tools:
.PHONY: tools
tools:
- # compile the Curry Port Name Server demon:
- @if [ -r bin/pakcs ] ; then cd cpns && $(MAKE) ; fi
- # compile the event handler demon for dynamic web pages:
- @if [ -r bin/pakcs ] ; then cd www && $(MAKE) ; fi
@if [ -r bin/pakcs ] ; then cd currytools && $(MAKE) ; fi
@if [ -r bin/pakcs ] ; then cd tools && $(MAKE) ; fi
diff -Naur pakcs-1.11.4-upstream/scripts/pakcs.sh pakcs-1.11.4/scripts/pakcs.sh
--- pakcs-1.11.4-upstream/scripts/pakcs.sh 2014-10-24 05:06:07.000000000 -0430
+++ pakcs-1.11.4/scripts/pakcs.sh 2015-01-05 16:26:15.697982791 -0430
@@ -16,7 +16,7 @@
# use readline wrapper rlwrap if it is installed and we have tty as stdin:
USERLWRAP=no
if tty -s ; then
- RLWRAP=`which rlwrap`
+ RLWRAP=`type -P rlwrap`
if [ -x "$RLWRAP" ] ; then
USERLWRAP=yes
fi
@@ -29,7 +29,7 @@
done
if [ $USERLWRAP = yes ] ; then
- exec rlwrap -c -f "$PAKCSHOME/tools/rlwrap" "$REPL" ${1+"$@"}
+ exec rlwrap -a -c -f "$PAKCSHOME/tools/rlwrap" "$REPL" ${1+"$@"}
else
exec "$REPL" ${1+"$@"}
fi

View file

@ -1,111 +0,0 @@
{ stdenv, fetchurl, cabal, swiProlog, either, mtl, syb
, glibcLocales, makeWrapper, rlwrap, tk, which }:
let
fname = "pakcs-1.11.4";
fsrc = fetchurl {
url = "http://www.informatik.uni-kiel.de/~pakcs/download/${fname}-src.tar.gz";
sha256 = "1xsn8h58pi1jp8wr4abyrqdps840j8limyv5i812z49npf91fy5c";
};
in
stdenv.mkDerivation rec {
name = fname;
curryBase = cabal.mkDerivation(self: {
pname = "curryBase";
version = "local";
src = fsrc;
sourceRoot = "${name}/frontend/curry-base";
isLibrary = true;
buildDepends = [ mtl syb ];
});
curryFront = cabal.mkDerivation(self: {
pname = "curryFront";
version = "local";
src = fsrc;
sourceRoot = "${name}/frontend/curry-frontend";
isLibrary = true;
isExecutable = true;
buildDepends = [ either mtl syb curryBase ];
});
src = fsrc;
buildInputs = [ swiProlog makeWrapper glibcLocales rlwrap tk which ];
patches = [ ./adjust-buildsystem.patch ];
configurePhase = ''
# Phony HOME.
mkdir phony-home
export HOME=$(pwd)/phony-home
# SWI Prolog
sed -i 's@SWIPROLOG=@SWIPROLOG='${swiProlog}/bin/swipl'@' pakcsinitrc
'';
buildPhase = ''
# Some comments in files are in UTF-8, so include the locale needed by GHC runtime.
export LC_ALL=en_US.UTF-8
# PAKCS must be build in place due to embedded filesystem references placed by swi.
# Prepare PAKCSHOME directory.
mkdir -p $out/pakcs/bin
# Set up link to cymake, which has been built already.
ln -s ${curryFront}/bin/cymake $out/pakcs/bin/
# Prevent embedding the derivation build directory as temp.
export TEMP=/tmp
# Copy to in place build location and run the build.
cp -r * $out/pakcs
(cd $out/pakcs ; make)
'';
installPhase = ''
# Install bin.
mkdir -p $out/bin
for b in $(ls $out/pakcs/bin) ; do
ln -s $out/pakcs/bin/$b $out/bin/ ;
done
# Place emacs lisp files in expected locations.
mkdir -p $out/share/emacs/site-lisp/curry-pakcs
for e in "$out/tools/emacs/"*.el ; do
cp $e $out/share/emacs/site-lisp/curry-pakcs/ ;
done
# Wrap for rlwrap and tk support.
wrapProgram $out/pakcs/bin/pakcs \
--prefix PATH ":" "${rlwrap}/bin" \
--prefix PATH ":" "${tk}/bin" \
'';
meta = {
homepage = "http://www.informatik.uni-kiel.de/~pakcs/";
description = "An implementation of the multi-paradigm declarative language Curry";
license = stdenv.lib.licenses.bsd3;
longDescription = ''
PAKCS is an implementation of the multi-paradigm declarative language
Curry jointly developed by the Portland State University, the Aachen
University of Technology, and the University of Kiel. Although this is
not a highly optimized implementation but based on a high-level
compilation of Curry programs into Prolog programs, it is not a toy
implementation but has been used for a variety of applications (e.g.,
graphical programming environments, an object-oriented front-end for
Curry, partial evaluators, database applications, HTML programming
with dynamic web pages, prototyping embedded systems).
'';
maintainers = [ stdenv.lib.maintainers.kkallio ];
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = stdenv.lib.platforms.none;
};
}

View file

@ -1,20 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, Cabal, filepath, haddockApi }:
cabal.mkDerivation (self: {
pname = "haddock";
version = "2.15.0.1";
sha256 = "0pvhhqackfikmp5zg6v6lysvr69f3f9f78xcjs4sd68f0rby7fdp";
isLibrary = false;
isExecutable = true;
buildDepends = [ haddockApi ];
testDepends = [ Cabal filepath ];
preCheck = "unset GHC_PACKAGE_PATH";
meta = {
homepage = "http://www.haskell.org/haddock/";
description = "A documentation-generation tool for Haskell libraries";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,25 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, json, mtl, parsec, QuickCheck, regexCompat, transformers
}:
cabal.mkDerivation (self: {
pname = "ShellCheck";
version = "0.3.5";
sha256 = "0x4rvhpzrjkn9a9fsmp9iwv9g21hkrd8fgq05iy4wgv8nfhgv2cj";
isLibrary = true;
isExecutable = true;
buildDepends = [
json mtl parsec QuickCheck regexCompat transformers
];
testDepends = [
json mtl parsec QuickCheck regexCompat transformers
];
meta = {
homepage = "http://www.shellcheck.net/";
description = "Shell script analysis tool";
license = self.stdenv.lib.licenses.agpl3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ aycanirican ];
};
})

View file

@ -1,18 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, polyparse }:
cabal.mkDerivation (self: {
pname = "cpphs";
version = "1.18.6";
sha256 = "0ds712zabigswf3cljzh7f2ys4rl1fj2cf76lbw856adm8514gxc";
isLibrary = true;
isExecutable = true;
buildDepends = [ polyparse ];
meta = {
homepage = "http://projects.haskell.org/cpphs/";
description = "A liberalised re-implementation of cpp, the C pre-processor";
license = "LGPL";
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,18 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, happy }:
cabal.mkDerivation (self: {
pname = "Ebnf2ps";
version = "1.0.12";
sha256 = "1rd0pxj2bfx06z1p0sy8kdhyfg1y51gn1bhr71j33czls6m9ry8c";
isLibrary = false;
isExecutable = true;
buildTools = [ happy ];
meta = {
homepage = "https://github.com/FranklinChen/Ebnf2ps";
description = "Peter's Syntax Diagram Drawing Tool";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,20 +0,0 @@
{ cabal, perl }:
cabal.mkDerivation (self: {
pname = "alex";
version = "2.3.5";
sha256 = "0lyjiq4lmii2syk6838ln32qvn8c0ljf1ypsggahy748k05x79if";
isLibrary = false;
isExecutable = true;
buildTools = [ perl ];
doCheck = false;
patches = [ ./adapt-crazy-perl-regex-for-cpp-4.8.0.patch ];
meta = {
homepage = "http://www.haskell.org/alex/";
description = "Alex is a tool for generating lexical analysers in Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
hydraPlatforms = self.stdenv.lib.platforms.none;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View file

@ -1,19 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, happy, perl, QuickCheck }:
cabal.mkDerivation (self: {
pname = "alex";
version = "3.1.3";
sha256 = "14hajxpqb6va5mclp2k682bgw9sbmd372vw41kq5aq815bkschcd";
isLibrary = false;
isExecutable = true;
buildDepends = [ QuickCheck ];
buildTools = [ happy perl ];
meta = {
homepage = "http://www.haskell.org/alex/";
description = "Alex is a tool for generating lexical analysers in Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,12 +0,0 @@
diff -ubr alex-2.3.5-orig/Setup.lhs alex-2.3.5/Setup.lhs
--- alex-2.3.5-orig/Setup.lhs 2013-04-19 12:00:15.812606335 +0000
+++ alex-2.3.5/Setup.lhs 2013-04-19 12:05:41.635450321 +0000
@@ -25,7 +25,7 @@
-- hack to turn cpp-style '# 27 "GenericTemplate.hs"' into
-- '{-# LINE 27 "GenericTemplate.hs" #-}'.
crazy_perl_regexp =
- "s/^#\\s+(\\d+)\\s+(\"[^\"]*\")/{-# LINE \\1 \\2 #-}/g;s/\\$(Id:.*)\\$/\\1/g"
+ "s/^#\\s+(\\d+)\\s+(\"[^\"]*\").*/{-# LINE \\1 \\2 #-}/g;s/\\$(Id:.*)\\$/\\1/g"
myPostBuild _ flags _ lbi = do
let runProgram p = rawSystemProgramConf (buildVerbose flags) p (withPrograms lbi)

View file

@ -1,12 +0,0 @@
diff -ubr happy-1.18.6-orig/Setup.lhs happy-1.18.6/Setup.lhs
--- happy-1.18.6-orig/Setup.lhs 2013-04-19 14:17:10.865999210 +0200
+++ happy-1.18.6/Setup.lhs 2013-04-19 14:17:15.285214809 +0200
@@ -25,7 +25,7 @@
-- hack to turn cpp-style '# 27 "GenericTemplate.hs"' into
-- '{-# LINE 27 "GenericTemplate.hs" #-}'.
crazy_perl_regexp =
- "s/^#\\s+(\\d+)\\s+(\"[^\"]*\")/{-# LINE \\1 \\2 #-}/g;s/\\$(Id:.*)\\$/\\1/g"
+ "s/^#\\s+(\\d+)\\s+(\"[^\"]*\").*/{-# LINE \\1 \\2 #-}/g;s/\\$(Id:.*)\\$/\\1/g"
myPostBuild _ flags _ lbi = do
let runProgram p = rawSystemProgramConf (buildVerbose flags) p (withPrograms lbi)

View file

@ -1,19 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, mtl, perl }:
cabal.mkDerivation (self: {
pname = "happy";
version = "1.19.4";
sha256 = "0vcklr1y6yjf8z4wip4al2zw4qlfxcahbdxwpf6c9y31dkv9kr3b";
isLibrary = false;
isExecutable = true;
buildDepends = [ mtl ];
buildTools = [ perl ];
meta = {
homepage = "http://www.haskell.org/happy/";
description = "Happy is a parser generator for Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,19 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, enummapsetTh, filepath, LambdaHack, text }:
cabal.mkDerivation (self: {
pname = "Allure";
version = "0.4.100.0";
sha256 = "15rkj5xab23wqr2d44xbri7hggbb3zmmka41xfiscqq4ifagfj4m";
isLibrary = false;
isExecutable = true;
buildDepends = [ enummapsetTh filepath LambdaHack text ];
testDepends = [ enummapsetTh filepath LambdaHack text ];
meta = {
homepage = "http://allureofthestars.com";
description = "Near-future Sci-Fi roguelike and tactical squad game";
license = "AGPL";
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,35 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, assertFailure, async, binary, dataDefault, deepseq
, enummapsetTh, filepath, gtk, hashable, hsini, keys, miniutter
, mtl, prettyShow, random, stm, text, transformers
, unorderedContainers, vector, vectorBinaryInstances, zlib
}:
cabal.mkDerivation (self: {
pname = "LambdaHack";
version = "0.4.100.0";
sha256 = "15v3aagwsh180603an3wd7rfgbjzgamdw270ciw2m03v8pkg9d28";
isLibrary = true;
isExecutable = true;
buildDepends = [
assertFailure async binary dataDefault deepseq enummapsetTh
filepath gtk hashable hsini keys miniutter mtl prettyShow random
stm text transformers unorderedContainers vector
vectorBinaryInstances zlib
];
testDepends = [
assertFailure async binary dataDefault deepseq enummapsetTh
filepath hashable hsini keys miniutter mtl prettyShow random stm
text transformers unorderedContainers vector vectorBinaryInstances
zlib
];
pkgconfigDepends = [ gtk ];
meta = {
homepage = "http://github.com/LambdaHack/LambdaHack";
description = "A game engine library for roguelike dungeon crawlers";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ andres ];
};
})

View file

@ -1,63 +0,0 @@
{ stdenv, requireFile, writeText, fetchurl, haskellPackages }:
with stdenv.lib;
let
makeSpin = num: let
padded = (optionalString (lessThan num 10) "0") + toString num;
in "slides.spins.${padded} = 3DOVID:" +
"addons/3dovideo/spins/ship${padded}.duk:" +
"addons/3dovideo/spins/spin.aif:" +
"addons/3dovideo/spins/ship${padded}.aif:89";
videoRMP = writeText "3dovideo.rmp" (''
slides.ending = 3DOVID:addons/3dovideo/ending/victory.duk
slides.intro = 3DOVID:addons/3dovideo/intro/intro.duk
'' + concatMapStrings makeSpin (range 0 24));
helper = with haskellPackages; cabal.mkDerivation (self: {
pname = "uqm3donix";
version = "0.1.0.0";
src = fetchurl {
url = "https://github.com/aszlig/uqm3donix/archive/v0.1.0.0.tar.gz";
sha256 = "0d40gpc3bqkw68varjxwgbdzxw0dvwqksijmvij5ixmlcspbjgvb";
};
isLibrary = false;
isExecutable = true;
buildDepends = [ binary filepath tar ];
meta = {
description = "Extract video files from a Star Control II 3DO image";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
});
in stdenv.mkDerivation {
name = "uqm-3dovideo";
src = requireFile rec {
name = "videos.tar";
sha256 = "044h0cl69r0kc43vk4n0akk0prwzb7inq324h5yfqb38sd4zkds1";
message = ''
In order to get the intro and ending sequences from the 3DO version, you
need to have the original 3DO Star Control II CD. Create an image from the
CD and use uqm3donix* to extract a tarball with the videos from it. The
reason for this is because the 3DO uses its own proprietary disk format.
Save the file as videos.tar and use "nix-prefetch-url file://${name}" to
add it to the Nix store.
[*] ${helper}/bin/uqm3donix CDIMAGE ${name}
'';
};
buildCommand = ''
mkdir -vp "$out"
tar xf "$src" -C "$out" --strip-components=3
cp "${videoRMP}" "$out/3dovideo.rmp"
'';
}

View file

@ -1,108 +0,0 @@
{ stdenv, fetchurl
, pkgconfig, mesa
, SDL, SDL_image, libpng, zlib, libvorbis, libogg, libmikmod, unzip
, use3DOVideos ? false, requireFile ? null, writeText ? null
, haskellPackages ? null
, useRemixPacks ? false
}:
assert use3DOVideos -> requireFile != null && writeText != null
&& haskellPackages != null;
with stdenv.lib;
let
videos = import ./3dovideo.nix {
inherit stdenv requireFile writeText fetchurl haskellPackages;
};
remixPacks = imap (num: sha256: fetchurl rec {
name = "uqm-remix-disc${toString num}.uqm";
url = "mirror://sourceforge/sc2/${name}";
inherit sha256;
}) [
"1s470i6hm53l214f2rkrbp111q4jyvnxbzdziqg32ffr8m3nk5xn"
"1pmsq65k8gk4jcbyk3qjgi9yqlm0dlaimc2r8hz2fc9f2124gfvz"
"07g966ylvw9k5q9jdzqdczp7c5qv4s91xjlg4z5z27fgcs7rzn76"
"1l46k9aqlcp7d3fjkjb3n05cjfkxx8rjlypgqy0jmdx529vikj54"
];
in stdenv.mkDerivation rec {
name = "uqm-${version}";
version = "0.7.0";
src = fetchurl {
url = "mirror://sourceforge/sc2/uqm-${version}-source.tgz";
sha256 = "08dj7fsvflxx69an6vpf3wx050mk0ycmdv401yffrrqbgxgmqsd3";
};
content = fetchurl {
url = "mirror://sourceforge/sc2/uqm-${version}-content.uqm";
sha256 = "1gx39ns698hyczd4nx73mr0z86bbi4q3h8sw3pxjh1lzla5xpxmq";
};
voice = fetchurl {
url = "mirror://sourceforge/sc2/uqm-${version}-voice.uqm";
sha256 = "0yf9ff5sxk229202gsa7ski6wn7a8hkjjyr1yr7mjdxsnh0zik5w";
};
music = fetchurl {
url = "mirror://sourceforge/sc2/uqm-${version}-3domusic.uqm";
sha256 = "10nbvcrr0lc0mxivxfkcbxnibwk3vwmamabrlvwdsjxd9pk8aw65";
};
/* uses pthread_cancel(), which requires libgcc_s.so.1 to be
loadable at run-time. Adding the flag below ensures that the
library can be found. Obviously, though, this is a hack. */
NIX_LDFLAGS="-lgcc_s";
buildInputs = [SDL SDL_image libpng libvorbis libogg libmikmod unzip pkgconfig mesa];
postUnpack = ''
mkdir -p uqm-${version}/content/packages
mkdir -p uqm-${version}/content/addons
ln -s "$content" "uqm-${version}/content/packages/uqm-0.7.0-content.uqm"
ln -s "$music" "uqm-${version}/content/addons/uqm-0.7.0-3domusic.uqm"
ln -s "$voice" "uqm-${version}/content/addons/uqm-0.7.0-voice.uqm"
'' + optionalString useRemixPacks (concatMapStrings (disc: ''
ln -s "${disc}" "uqm-$version/content/addons/${disc.name}"
'') remixPacks) + optionalString use3DOVideos ''
ln -s "${videos}" "uqm-${version}/content/addons/3dovideo"
'';
/* uqm has a 'unique' build system with a root script incidentally called
* 'build.sh'. */
configurePhase = ''
echo "INPUT_install_prefix_VALUE='$out'" >> config.state
echo "INPUT_install_bindir_VALUE='$out/bin'" >> config.state
echo "INPUT_install_libdir_VALUE='$out/lib'" >> config.state
echo "INPUT_install_sharedir_VALUE='$out/share'" >> config.state
PREFIX=$out ./build.sh uqm config
'';
buildPhase = ''
./build.sh uqm
'';
installPhase = ''
./build.sh uqm install
sed -i $out/bin/uqm -e "s%/usr/local/games/%$out%g"
'';
meta = {
description = "Remake of Star Control II";
longDescription = ''
The goals for the The Ur-Quan Masters project are:
- to bring Star Control II to modern platforms, thereby making a lot of people happy
- to make game translations easy, thereby making even more people happy
- to adapt the code so that people can more easily make their own spin-offs, thereby making zillions more people happy!
'';
homepage = http://sc2.sourceforge.net/;
license = stdenv.lib.licenses.gpl2;
maintainers = with maintainers; [ jcumming aszlig ];
};
}

View file

@ -1,33 +0,0 @@
{ cabal, dataDefault, fetchFromGitHub, HUnit, mtl, parallel
, QuickCheck, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2, vector, vectorAlgorithms, vty
}:
let
rv = "b6b11c51846a9283ef4ee7c839b99ded9f6c3bc8";
in
cabal.mkDerivation (self: {
pname = "escoger";
version = "0.1.0.0-${rv}";
src = fetchFromGitHub {
owner = "tstat";
repo = "escoger";
rev = rv;
sha256 = "0n6mvg5cm50ym20bz74b7q1afkljp0fc9pxhqk0ai82a71xxbxy3";
};
isLibrary = false;
isExecutable = true;
buildDepends = [
dataDefault mtl parallel vector vectorAlgorithms vty
];
testDepends = [
dataDefault HUnit mtl parallel QuickCheck testFramework
testFrameworkHunit testFrameworkQuickcheck2 vector vectorAlgorithms
vty
];
meta = {
description = "A multithreaded terminal fuzzy selector";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,29 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, Cabal, filepath, HTTP, mtl, network, random, time, zlib }:
cabal.mkDerivation (self: {
pname = "cabal-install";
version = "1.16.0.2";
sha256 = "162nbkkffpbalg368m5s49jrvg9nibdwlwj0j1b8wriyyg4srpv6";
isLibrary = false;
isExecutable = true;
buildDepends = [
Cabal filepath HTTP mtl network random time zlib
];
postInstall = ''
mkdir $out/etc
mv bash-completion $out/etc/bash_completion.d
'';
patchPhase = ''
sed -i -e 's|random .*1.1,|random,|' cabal-install.cabal
'';
meta = {
homepage = "http://www.haskell.org/cabal/";
description = "The command-line interface for Cabal and Hackage";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
hydraPlatforms = self.stdenv.lib.platforms.none;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View file

@ -1,36 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, Cabal, filepath, HTTP, HUnit, mtl, network, QuickCheck
, random, stm, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2, time, zlib
}:
cabal.mkDerivation (self: {
pname = "cabal-install";
version = "1.18.0.3";
sha256 = "0h01mz6p4fwl8h6k2ybrlp598f0j3n2zasrr63fy0vjbjibmgf41";
isLibrary = false;
isExecutable = true;
buildDepends = [
Cabal filepath HTTP mtl network random stm time zlib
];
testDepends = [
Cabal filepath HTTP HUnit mtl network QuickCheck stm testFramework
testFrameworkHunit testFrameworkQuickcheck2 time zlib
];
postInstall = ''
mkdir $out/etc
mv bash-completion $out/etc/bash_completion.d
'';
patchPhase = ''
sed -i -e 's|random .*1.1,|random,|' cabal-install.cabal
'';
meta = {
homepage = "http://www.haskell.org/cabal/";
description = "The command-line interface for Cabal and Hackage";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
hydraPlatforms = self.stdenv.lib.platforms.none;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View file

@ -1,32 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, Cabal, filepath, HTTP, HUnit, mtl, network, networkUri
, QuickCheck, random, stm, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2, time, zlib
}:
cabal.mkDerivation (self: {
pname = "cabal-install";
version = "1.20.0.6";
sha256 = "1hc187yzl59518cswk25xzsabn9dvm4wqpq817hmclrvkf4zr3pl";
isLibrary = false;
isExecutable = true;
buildDepends = [
Cabal filepath HTTP mtl network networkUri random stm time zlib
];
testDepends = [
Cabal filepath HTTP HUnit mtl network networkUri QuickCheck stm
testFramework testFrameworkHunit testFrameworkQuickcheck2 time zlib
];
doCheck = false;
postInstall = ''
mkdir $out/etc
mv bash-completion $out/etc/bash_completion.d
'';
meta = {
homepage = "http://www.haskell.org/cabal/";
description = "The command-line interface for Cabal and Hackage";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,34 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, Cabal, extensibleExceptions, filepath, HTTP, HUnit, mtl
, network, networkUri, QuickCheck, random, regexPosix, stm
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2, time
, zlib
}:
cabal.mkDerivation (self: {
pname = "cabal-install";
version = "1.22.0.0";
sha256 = "17cf2bkrxawjldhkq4hzlzlf7b2xqgkrzl7fa31whnnpni68v6jz";
isLibrary = false;
isExecutable = true;
buildDepends = [
Cabal filepath HTTP mtl network networkUri random stm time zlib
];
testDepends = [
Cabal extensibleExceptions filepath HTTP HUnit mtl network
networkUri QuickCheck regexPosix stm testFramework
testFrameworkHunit testFrameworkQuickcheck2 time zlib
];
doCheck = false;
postInstall = ''
mkdir $out/etc
mv bash-completion $out/etc/bash_completion.d
'';
meta = {
homepage = "http://www.haskell.org/cabal/";
description = "The command-line interface for Cabal and Hackage";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,34 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, baseCompat, fetchgit, hspec, hspecExpectations
, libsystemdJournal, mimeMail, mtl, pipes, pipesBytestring
, pipesSafe, QuickCheck, silently, stringConversions, temporary
, text, time, unorderedContainers, yaml
}:
cabal.mkDerivation (self: {
pname = "journal-mailer";
version = "0.1.1.0";
src = fetchgit {
url = "https://github.com/zalora/journal-mailer.git";
sha256 = "cd28b39746fd8a9652eb5d4dc5dcfd66704826d1ee466572fb47925b054cd07b";
rev = "ab1b4df09e7ddbe139959374437331cdddf754b2";
};
isLibrary = false;
isExecutable = true;
buildDepends = [
baseCompat libsystemdJournal mimeMail pipes pipesBytestring
pipesSafe stringConversions text time unorderedContainers yaml
];
testDepends = [
baseCompat hspec hspecExpectations libsystemdJournal mimeMail mtl
pipes pipesBytestring pipesSafe QuickCheck silently
stringConversions temporary text time unorderedContainers yaml
];
meta = {
description = "Sends out emails for every severe message logged to systemd's journal";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.tv ];
};
})

View file

@ -1,23 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, cmdargs, deepseq, dlist, lens, parallelIo, regexPosix
, systemFileio, systemFilepath, text
}:
cabal.mkDerivation (self: {
pname = "sizes";
version = "2.3.2";
sha256 = "0xns0xl3khks1jvsmxh0nqf1saxs7qscvkbcg4270pp7n6lziqdg";
isLibrary = false;
isExecutable = true;
buildDepends = [
cmdargs deepseq dlist lens parallelIo regexPosix systemFileio
systemFilepath text
];
meta = {
homepage = "https://github.com/jwiegley/sizes";
description = "Recursively show space (size and i-nodes) used in subdirectories";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,26 +0,0 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, filepath, mtl, regexCompat, texLive }:
cabal.mkDerivation (self: {
pname = "lhs2tex";
version = "1.18.1";
sha256 = "0j4n7vkabsggn94gbwixy1vmckdck2nggdiqvk6n9nx164if5jnw";
isLibrary = false;
isExecutable = true;
buildDepends = [ filepath mtl regexCompat ];
extraLibraries = [ texLive ];
postInstall = ''
mkdir -p "$out/share/doc/$name"
cp doc/Guide2.pdf $out/share/doc/$name
mkdir -p "$out/nix-support"
'';
meta = {
homepage = "http://www.andres-loeh.de/lhs2tex/";
description = "Preprocessor for typesetting Haskell sources with LaTeX";
license = self.stdenv.lib.licenses.gpl2;
platforms = self.ghc.meta.platforms;
hydraPlatforms = self.stdenv.lib.platforms.linux;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View file

@ -4866,7 +4866,7 @@ let
jdtsdk = callPackage ../development/eclipse/jdt-sdk { };
jruby165 = callPackage ../development/interpreters/jruby { };
jython = callPackage ../development/interpreters/jython {};
guileCairo = callPackage ../development/guile-modules/guile-cairo { };
@ -13112,8 +13112,6 @@ let
unvanquished = callPackage ../games/unvanquished { };
uqm = callPackage ../games/uqm { };
urbanterror = callPackage ../games/urbanterror { };
ue4demos = recurseIntoAttrs (callPackage ../games/ue4demos { });