git.iko.soy/typeable/nixpkgs
on master help sign in
Drop obsolete pre-NG Haskell builds.
commit324719a5a611501d7b54e14f205465f5da1242b1 authorPeter Simons <simons@cryp.to> dateTue 5 May 2015, 20:48 (12 years ago) parente364278
56 files changed+1−1988
pkgs/applications/audio/vimus/default.nix−30 pkgs/applications/editors/emacs-modes/structured-haskell-mode/default.nix−23 pkgs/applications/editors/yi/yi.nix−39 pkgs/applications/graphics/hoodle/default.nix−22 pkgs/applications/misc/arbtt/default.nix−31 pkgs/applications/misc/nc-indicators/default.nix−18 pkgs/applications/misc/taffybar/default.nix−28 pkgs/applications/misc/xmobar/default.nix−28 pkgs/applications/misc/yeganesh/default.nix−18 pkgs/applications/office/hledger-interest/default.nix−19 pkgs/applications/office/hledger-irr/default.nix−18 pkgs/applications/science/math/sloane/default.nix−28 pkgs/applications/version-management/git-and-tools/git-annex/default.nix−56 pkgs/applications/version-management/git-and-tools/github-backup/default.nix−26 pkgs/applications/window-managers/xmonad/default.nix−30 pkgs/applications/window-managers/xmonad/xmonad-contrib.nix−21 pkgs/applications/window-managers/xmonad/xmonad-extras.nix−24 pkgs/build-support/cabal/default.nix−330 pkgs/development/compilers/agda/default.nix−36 pkgs/development/compilers/clash-ghc/default.nix−33 pkgs/development/compilers/elm/elm-compiler.nix−34 pkgs/development/compilers/elm/elm-get.nix−25 pkgs/development/compilers/elm/elm-make.nix−23 pkgs/development/compilers/elm/elm-package.nix−26 pkgs/development/compilers/elm/elm-reactor-exact-dependencies.json−6 pkgs/development/compilers/elm/elm-reactor.nix−68 pkgs/development/compilers/elm/elm-repl.nix−28 pkgs/development/compilers/elm/elm-server.nix−23 pkgs/development/compilers/elm/elm.nix−40 pkgs/development/compilers/epic/default.nix−20 pkgs/development/compilers/idris/default.nix−34 pkgs/development/compilers/idris/wrapper.nix−11 pkgs/development/compilers/pakcs/adjust-buildsystem.patch−43 pkgs/development/compilers/pakcs/default.nix−111 pkgs/development/tools/documentation/haddock/default.nix−20 pkgs/development/tools/misc/ShellCheck/default.nix−25 pkgs/development/tools/misc/cpphs/default.nix−18 pkgs/development/tools/parsing/Ebnf2ps/default.nix−18 pkgs/development/tools/parsing/alex/2.3.5.nix−20 pkgs/development/tools/parsing/alex/3.1.3.nix−19 pkgs/development/tools/parsing/alex/adapt-crazy-perl-regex-for-cpp-4.8.0.patch−12 pkgs/development/tools/parsing/happy/adapt-crazy-perl-regex-for-cpp-4.8.0.patch−12 pkgs/development/tools/parsing/happy/default.nix−19 pkgs/games/Allure/default.nix−19 pkgs/games/LambdaHack/default.nix−35 pkgs/games/uqm/3dovideo.nix−63 pkgs/games/uqm/default.nix−108 pkgs/tools/misc/escoger/default.nix−33 pkgs/tools/package-management/cabal-install/1.16.0.2.nix−29 pkgs/tools/package-management/cabal-install/1.18.0.3.nix−36 pkgs/tools/package-management/cabal-install/1.20.0.6.nix−32 pkgs/tools/package-management/cabal-install/1.22.0.0.nix−34 pkgs/tools/system/journal-mailer/default.nix−34 pkgs/tools/system/sizes/default.nix−23 pkgs/tools/typesetting/lhs2tex/default.nix−26 pkgs/top-level/all-packages.nix+1−3
pkgs/applications/audio/vimus/default.nixdeleted−30
@@ -1,30 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, c2hs, dataDefault, deepseq, filepath, hspec
4−, hspecExpectations, libmpd, mtl, ncurses, QuickCheck, time
5−, transformers, utf8String, wcwidth
6−}:
7−
8−cabal.mkDerivation (self: {
9− pname = "vimus";
10− version = "0.2.0";
11− sha256 = "0s7hfyil9rnr9rmjb08g1l1sxybx3qdkw2f59p433fkdjp2m140h";
12− isLibrary = true;
13− isExecutable = true;
14− buildDepends = [
15− dataDefault deepseq filepath libmpd mtl time utf8String wcwidth
16− ];
17− testDepends = [
18− dataDefault hspec hspecExpectations mtl QuickCheck transformers
19− wcwidth
20− ];
21− buildTools = [ c2hs ];
22− extraLibraries = [ ncurses ];
23− meta = {
24− description = "An MPD client with vim-like key bindings";
25− license = self.stdenv.lib.licenses.mit;
26− platforms = self.ghc.meta.platforms;
27− maintainers = with self.stdenv.lib.maintainers; [ jzellner ];
28− broken = self.stdenv.isLinux && self.stdenv.isi686;
29− };
30−})
pkgs/applications/editors/emacs-modes/structured-haskell-mode/default.nixdeleted−23
@@ -1,23 +0,0 @@
1−{ cabal, emacs, haskellMode, haskellSrcExts }:
2−
3−cabal.mkDerivation (self: {
4− pname = "structured-haskell-mode";
5− version = "1.0.4";
6− sha256 = "1402wx27py7292ad7whsb13ywv71k36501jpfrn2p0v7knzknj8z";
7− isLibrary = false;
8− isExecutable = true;
9− buildDepends = [ haskellSrcExts haskellMode ];
10− buildTools = [ emacs ];
11− postInstall = ''
12− emacs -L elisp -L ${haskellMode}/share/emacs/site-lisp \
13− --batch -f batch-byte-compile "elisp/"*.el
14− install -d $out/share/emacs/site-lisp
15− install "elisp/"*.el "elisp/"*.elc $out/share/emacs/site-lisp
16− '';
17− meta = {
18− homepage = "https://github.com/chrisdone/structured-haskell-mode";
19− description = "Structured editing Emacs mode for Haskell";
20− license = self.stdenv.lib.licenses.bsd3;
21− platforms = self.ghc.meta.platforms;
22− };
23−})
pkgs/applications/editors/yi/yi.nixdeleted−39
@@ -1,39 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, binary, Cabal, cautiousFile, dataDefault, derive, dlist
4−, dynamicState, dyre, exceptions, filepath, glib, gtk, hashable
5−, hint, HUnit, lens, mtl, ooPrototypes, pango, parsec, pointedlist
6−, QuickCheck, random, regexBase, regexTdfa, safe, semigroups, split
7−, tagged, tasty, tastyHunit, tastyQuickcheck, text, time
8−, transformersBase, unixCompat, unorderedContainers, utf8String
9−, vty, wordTrie, xdgBasedir, yiLanguage, yiRope
10−}:
11−
12−cabal.mkDerivation (self: {
13− pname = "yi";
14− version = "0.11.1";
15− sha256 = "15m1wwrxmszl930az79lpgyz5rxg72gy8vi17ibpac1cszfdx192";
16− isLibrary = true;
17− isExecutable = true;
18− buildDepends = [
19− binary Cabal cautiousFile dataDefault derive dlist dynamicState
20− dyre exceptions filepath glib gtk hashable hint lens mtl
21− ooPrototypes pango parsec pointedlist QuickCheck random regexBase
22− regexTdfa safe semigroups split tagged text time transformersBase
23− unixCompat unorderedContainers utf8String vty wordTrie xdgBasedir
24− yiLanguage yiRope
25− ];
26− testDepends = [
27− filepath HUnit lens QuickCheck semigroups tasty tastyHunit
28− tastyQuickcheck text yiLanguage yiRope
29− ];
30− configureFlags = "-fpango -fvty";
31− noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.8";
32− meta = {
33− homepage = http://haskell.org/haskellwiki/Yi;
34− description = "The Haskell-Scriptable Editor";
35− license = self.stdenv.lib.licenses.gpl2;
36− platforms = self.ghc.meta.platforms;
37− maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ];
38− };
39−})
pkgs/applications/graphics/hoodle/default.nixdeleted−22
@@ -1,22 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, cmdargs, configurator, dyre, filepath, hoodleCore, mtl }:
4−
5−cabal.mkDerivation (self: {
6− pname = "hoodle";
7− version = "0.3";
8− sha256 = "01wz7bwdr3i43ikaiaq8vpn6b0clxjnjyaw6nl6zaq489dhj6fv5";
9− isLibrary = true;
10− isExecutable = true;
11− buildDepends = [
12− cmdargs configurator dyre filepath hoodleCore mtl
13− ];
14− meta = {
15− homepage = "http://ianwookim.org/hoodle";
16− description = "Executable for hoodle";
17− license = self.stdenv.lib.licenses.gpl3;
18− platforms = self.ghc.meta.platforms;
19− hydraPlatforms = self.stdenv.lib.platforms.none;
20− maintainers = with self.stdenv.lib.maintainers; [ ianwookim ];
21− };
22−})
pkgs/applications/misc/arbtt/default.nixdeleted−31
@@ -1,31 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, aeson, binary, bytestringProgress, deepseq, filepath
4−, HUnit, libXScrnSaver, parsec, pcreLight, processExtras, strict
5−, tasty, tastyGolden, tastyHunit, terminalProgressBar, time
6−, transformers, utf8String, X11
7−}:
8−
9−cabal.mkDerivation (self: {
10− pname = "arbtt";
11− version = "0.8.1.4";
12− sha256 = "15ydb425nvqfzajx09q713wy5xa7awbzfjlsidk17vf7qbhfjn7z";
13− isLibrary = false;
14− isExecutable = true;
15− buildDepends = [
16− aeson binary bytestringProgress deepseq filepath parsec pcreLight
17− strict terminalProgressBar time transformers utf8String X11
18− ];
19− testDepends = [
20− binary deepseq HUnit parsec pcreLight processExtras tasty
21− tastyGolden tastyHunit time transformers utf8String
22− ];
23− extraLibraries = [ libXScrnSaver ];
24− jailbreak = true;
25− meta = {
26− homepage = "http://arbtt.nomeata.de/";
27− description = "Automatic Rule-Based Time Tracker";
28− license = "GPL";
29− platforms = self.ghc.meta.platforms;
30− };
31−})
pkgs/applications/misc/nc-indicators/default.nixdeleted−18
@@ -1,18 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, attoparsec, gtk, hflags, lens, pipes, stm }:
4−
5−cabal.mkDerivation (self: {
6− pname = "nc-indicators";
7− version = "0.3";
8− sha256 = "0w5nddirsib9vz96dpan9bgdg1mag9gaz7w7ix51l44ls9r8yn3m";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [ attoparsec gtk hflags lens pipes stm ];
12− meta = {
13− homepage = "https://github.com/nilcons/nc-indicators";
14− description = "CPU load and memory usage indicators for i3bar";
15− license = self.stdenv.lib.licenses.asl20;
16− platforms = self.ghc.meta.platforms;
17− };
18−})
pkgs/applications/misc/taffybar/default.nixdeleted−28
@@ -1,28 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, cairo, dbus, dyre, enclosedExceptions, filepath, gtk
4−, gtkTraymanager, HStringTemplate, HTTP, mtl, network, networkUri
5−, parsec, safe, split, stm, text, time, transformers, utf8String
6−, X11, xdgBasedir, xmonad, xmonadContrib
7−}:
8−
9−cabal.mkDerivation (self: {
10− pname = "taffybar";
11− version = "0.4.4";
12− sha256 = "046nfp878mqj9acsid94mqp8q1yqnm1hsdkv88m5qpmn182xljwh";
13− isLibrary = true;
14− isExecutable = true;
15− buildDepends = [
16− cairo dbus dyre enclosedExceptions filepath gtk gtkTraymanager
17− HStringTemplate HTTP mtl network networkUri parsec safe split stm
18− text time transformers utf8String X11 xdgBasedir xmonad
19− xmonadContrib
20− ];
21− pkgconfigDepends = [ gtk ];
22− meta = {
23− homepage = "http://github.com/travitch/taffybar";
24− description = "A desktop bar similar to xmobar, but with more GUI";
25− license = self.stdenv.lib.licenses.bsd3;
26− platforms = self.ghc.meta.platforms;
27− };
28−})
pkgs/applications/misc/xmobar/default.nixdeleted−28
@@ -1,28 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, alsaCore, alsaMixer, dbus, filepath, hinotify, HTTP
4−, libmpd, libXpm, libXrandr, mtl, parsec, regexCompat, stm, time
5−, timezoneOlson, timezoneSeries, transformers, utf8String
6−, wirelesstools, X11, X11Xft
7−}:
8−
9−cabal.mkDerivation (self: {
10− pname = "xmobar";
11− version = "0.22.1";
12− sha256 = "0mnwwcfk0xf4fi3cnw19s6lxcg8sbsdlvg7zwvf5xf0y9q365swz";
13− isLibrary = false;
14− isExecutable = true;
15− buildDepends = [
16− alsaCore alsaMixer dbus filepath hinotify HTTP libmpd mtl parsec
17− regexCompat stm time timezoneOlson timezoneSeries transformers
18− utf8String X11 X11Xft
19− ];
20− extraLibraries = [ libXpm libXrandr wirelesstools ];
21− configureFlags = "-fall_extensions";
22− meta = {
23− homepage = "http://xmobar.org";
24− description = "A Minimalistic Text Based Status Bar";
25− license = self.stdenv.lib.licenses.bsd3;
26− platforms = self.stdenv.lib.platforms.linux;
27− };
28−})
pkgs/applications/misc/yeganesh/default.nixdeleted−18
@@ -1,18 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, filepath, strict, time, xdgBasedir }:
4−
5−cabal.mkDerivation (self: {
6− pname = "yeganesh";
7− version = "2.5";
8− sha256 = "1bgw5v1g5n06jj0lyxpf48mdpaa2s49g0lbagf3jf9q01rb92bvf";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [ filepath strict time xdgBasedir ];
12− meta = {
13− homepage = "http://dmwit.com/yeganesh";
14− description = "small dmenu wrapper";
15− license = self.stdenv.lib.licenses.bsd3;
16− platforms = self.ghc.meta.platforms;
17− };
18−})
pkgs/applications/office/hledger-interest/default.nixdeleted−19
@@ -1,19 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, Cabal, Decimal, hledgerLib, mtl, time }:
4−
5−cabal.mkDerivation (self: {
6− pname = "hledger-interest";
7− version = "1.4.4";
8− sha256 = "16knk1cwrpg5jn6vgcab7hqpjzg33ysz57x1f2glrmhhv1slmbfn";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [ Cabal Decimal hledgerLib mtl time ];
12− meta = {
13− homepage = "http://github.com/peti/hledger-interest";
14− description = "computes interest for a given account";
15− license = self.stdenv.lib.licenses.bsd3;
16− platforms = self.ghc.meta.platforms;
17− maintainers = with self.stdenv.lib.maintainers; [ simons ];
18− };
19−})
pkgs/applications/office/hledger-irr/default.nixdeleted−18
@@ -1,18 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, Cabal, hledgerLib, statistics, time }:
4−
5−cabal.mkDerivation (self: {
6− pname = "hledger-irr";
7− version = "0.1.1.4";
8− sha256 = "0nqd8br86d71dpwq7p8956q74pgqdimid42xikp9zvf632x2s8ax";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [ Cabal hledgerLib statistics time ];
12− meta = {
13− description = "computes the internal rate of return of an investment";
14− license = self.stdenv.lib.licenses.bsd3;
15− platforms = self.ghc.meta.platforms;
16− broken = true;
17− };
18−})
pkgs/applications/science/math/sloane/default.nixdeleted−28
@@ -1,28 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, ansiTerminal, cereal, downloadCurl, filepath, HTTP
4−, network, optparseApplicative, terminalSize, text, zlib
5−}:
6−
7−cabal.mkDerivation (self: {
8− pname = "sloane";
9− version = "1.9.3";
10− sha256 = "0xl3dmi6czwfbi17742hqxf3d6sl9dci08qszrkdmasnvivakg78";
11− isLibrary = false;
12− isExecutable = true;
13− buildDepends = [
14− ansiTerminal cereal downloadCurl filepath HTTP network
15− optparseApplicative terminalSize text zlib
16− ];
17− postInstall = ''
18− mkdir -p $out/share/man/man1
19− cp sloane.1 $out/share/man/man1/
20− '';
21− meta = {
22− homepage = "http://github.com/akc/sloane";
23− description = "A command line interface to Sloane's On-Line Encyclopedia of Integer Sequences";
24− license = self.stdenv.lib.licenses.bsd3;
25− platforms = self.ghc.meta.platforms;
26− maintainers = with self.stdenv.lib.maintainers; [ akc ];
27− };
28−})
pkgs/applications/version-management/git-and-tools/git-annex/default.nixdeleted−56
@@ -1,56 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, aeson, async, aws, blazeBuilder, bloomfilter, bup
4−, byteable, caseInsensitive, clientsession, conduit, conduitExtra
5−, cryptoApi, cryptohash, curl, dataDefault, dataenc, DAV, dbus
6−, dlist, dns, editDistance, exceptions, fdoNotify, feed, filepath
7−, git, gnupg1, gnutls, hamlet, hinotify, hslogger, httpClient
8−, httpConduit, httpTypes, IfElse, json, lsof, MissingH
9−, monadControl, mtl, network, networkInfo, networkMulticast
10−, networkProtocolXmpp, networkUri, openssh, optparseApplicative
11−, pathPieces, perl, QuickCheck, random, regexTdfa, resourcet, rsync
12−, SafeSemaphore, securemem, SHA, shakespeare, stm, tasty
13−, tastyHunit, tastyQuickcheck, tastyRerun, text, time, torrent
14−, transformers, unixCompat, utf8String, uuid, wai, waiExtra, warp
15−, warpTls, wget, which, xmlTypes, yesod, yesodCore, yesodDefault
16−, yesodForm, yesodStatic
17−}:
18−
19−cabal.mkDerivation (self: {
20− pname = "git-annex";
21− version = "5.20141231";
22− sha256 = "0rrwaclc3mpn39087fs5pgn0axjp5mki0nhj9a3fjjchdwd8wzyf";
23− isLibrary = false;
24− isExecutable = true;
25− buildDepends = [
26− aeson async aws blazeBuilder bloomfilter byteable caseInsensitive
27− clientsession conduit conduitExtra cryptoApi cryptohash dataDefault
28− dataenc DAV dbus dlist dns editDistance exceptions fdoNotify feed
29− filepath gnutls hamlet hinotify hslogger httpClient httpConduit
30− httpTypes IfElse json MissingH monadControl mtl network networkInfo
31− networkMulticast networkProtocolXmpp networkUri optparseApplicative
32− pathPieces QuickCheck random regexTdfa resourcet SafeSemaphore
33− securemem SHA shakespeare stm tasty tastyHunit tastyQuickcheck
34− tastyRerun text time torrent transformers unixCompat utf8String
35− uuid wai waiExtra warp warpTls xmlTypes yesod yesodCore
36− yesodDefault yesodForm yesodStatic
37− ];
38− buildTools = [
39− bup curl git gnupg1 lsof openssh perl rsync wget which
40− ];
41− configureFlags = "-fAssistant -fProduction";
42− preConfigure = "export HOME=$TEMPDIR";
43− installPhase = "./Setup install";
44− checkPhase = ''
45− cp dist/build/git-annex/git-annex git-annex
46− ./git-annex test
47− '';
48− propagatedUserEnvPkgs = [git lsof];
49− meta = {
50− homepage = "http://git-annex.branchable.com/";
51− description = "manage files with git, without checking their contents into git";
52− license = self.stdenv.lib.licenses.gpl3;
53− platforms = self.ghc.meta.platforms;
54− maintainers = with self.stdenv.lib.maintainers; [ simons ];
55− };
56−})
pkgs/applications/version-management/git-and-tools/github-backup/default.nixdeleted−26
@@ -1,26 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, exceptions, filepath, git, github, hslogger, IfElse
4−, MissingH, mtl, network, networkUri, optparseApplicative
5−, prettyShow, text, transformers, unixCompat
6−}:
7−
8−cabal.mkDerivation (self: {
9− pname = "github-backup";
10− version = "1.20141204";
11− sha256 = "0asj0ix81k6vi95rwlhs7ikk936lzfsav4gw0gvyzf31ggmf4j4c";
12− isLibrary = false;
13− isExecutable = true;
14− buildDepends = [
15− exceptions filepath github hslogger IfElse MissingH mtl network
16− networkUri optparseApplicative prettyShow text transformers
17− unixCompat
18− ];
19− buildTools = [ git ];
20− meta = {
21− homepage = "https://github.com/joeyh/github-backup";
22− description = "backs up everything github knows about a repository, to the repository";
23− license = "GPL";
24− platforms = self.ghc.meta.platforms;
25− };
26−})
pkgs/applications/window-managers/xmonad/default.nixdeleted−30
@@ -1,30 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, extensibleExceptions, filepath, mtl, utf8String, X11 }:
4−
5−cabal.mkDerivation (self: {
6− pname = "xmonad";
7− version = "0.11";
8− sha256 = "1nsv88y2b206n3s5hrsp5ginvz1bj818ns7jmikavb2g33akdgg5";
9− isLibrary = true;
10− isExecutable = true;
11− buildDepends = [
12− extensibleExceptions filepath mtl utf8String X11
13− ];
14− postInstall = ''
15− shopt -s globstar
16− mkdir -p $out/share/man/man1
17− mv "$out/"**"/man/"*.1 $out/share/man/man1/
18− '';
19− patches = [
20− # Patch to make xmonad use XMONAD_{GHC,XMESSAGE} (if available).
21− ../../../development/haskell-modules/xmonad-nix.patch
22− ];
23− meta = {
24− homepage = "http://xmonad.org";
25− description = "A tiling window manager";
26− license = self.stdenv.lib.licenses.bsd3;
27− platforms = self.ghc.meta.platforms;
28− maintainers = [ self.stdenv.lib.maintainers.andres ];
29− };
30−})
pkgs/applications/window-managers/xmonad/xmonad-contrib.nixdeleted−21
@@ -1,21 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, extensibleExceptions, mtl, random, utf8String, X11, X11Xft
4−, xmonad
5−}:
6−
7−cabal.mkDerivation (self: {
8− pname = "xmonad-contrib";
9− version = "0.11.3";
10− sha256 = "14h9vr33yljymswj50wbimav263y9abdcgi07mvfis0zd08rxqxa";
11− buildDepends = [
12− extensibleExceptions mtl random utf8String X11 X11Xft xmonad
13− ];
14− meta = {
15− homepage = "http://xmonad.org/";
16− description = "Third party extensions for xmonad";
17− license = self.stdenv.lib.licenses.bsd3;
18− platforms = self.ghc.meta.platforms;
19− maintainers = with self.stdenv.lib.maintainers; [ simons ];
20− };
21−})
pkgs/applications/window-managers/xmonad/xmonad-extras.nixdeleted−24
@@ -1,24 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, hint, libmpd, mtl, network, parsec, random, regexPosix
4−, split, X11, xmonad, xmonadContrib
5−}:
6−
7−cabal.mkDerivation (self: {
8− pname = "xmonad-extras";
9− version = "0.12";
10− sha256 = "1gyj9j6x21rvs6kg6g74wr0jdd36c5ml63a670456fhjr96s8y0g";
11− buildDepends = [
12− hint libmpd mtl network parsec random regexPosix split X11 xmonad
13− xmonadContrib
14− ];
15− configureFlags = "-f-with_hlist -fwith_split -fwith_parsec";
16− jailbreak = true;
17− meta = {
18− homepage = "http://projects.haskell.org/xmonad-extras";
19− description = "Third party extensions for xmonad with wacky dependencies";
20− license = self.stdenv.lib.licenses.bsd3;
21− platforms = self.ghc.meta.platforms;
22− maintainers = with self.stdenv.lib.maintainers; [ simons ];
23− };
24−})
pkgs/build-support/cabal/default.nixdeleted−330
@@ -1,330 +0,0 @@
1−# generic builder for Cabal packages
2−
3−{ stdenv, fetchurl, lib, pkgconfig, ghc, Cabal, jailbreakCabal, glibcLocales
4−, gnugrep, coreutils, hscolour, cpphs
5−, enableLibraryProfiling ? false
6−, enableSharedLibraries ? false
7−, enableSharedExecutables ? false
8−, enableStaticLibraries ? true
9−, enableCheckPhase ? stdenv.lib.versionOlder "7.4" ghc.version
10−, enableHyperlinkSource ? true
11−, enableCpphs ? false
12−, extension ? (self : super : {})
13−}:
14−
15−let
16− enableFeature = stdenv.lib.enableFeature;
17− versionOlder = stdenv.lib.versionOlder;
18− optional = stdenv.lib.optional;
19− optionals = stdenv.lib.optionals;
20− optionalString = stdenv.lib.optionalString;
21− filter = stdenv.lib.filter;
22−
23− defaultSetupHs = builtins.toFile "Setup.hs" ''
24− import Distribution.Simple
25− main = defaultMain
26− '';
27−in
28−
29−# Cabal shipped with GHC 6.12.4 or earlier doesn't know the "--enable-tests configure" flag.
30−assert enableCheckPhase -> versionOlder "7" ghc.version;
31−
32−# GHC prior to 7.4.x doesn't know the "--enable-executable-dynamic" flag.
33−assert enableSharedExecutables -> versionOlder "7.4" ghc.version;
34−
35−# Our GHC 6.10.x builds do not provide sharable versions of their core libraries.
36−assert enableSharedLibraries -> versionOlder "6.12" ghc.version;
37−
38−# Pure shared library builds don't work before GHC 7.8.x.
39−assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
40−
41−{
42− mkDerivation =
43− args : # arguments for the individual package, can modify the defaults
44− let # These attributes are removed in the end. This is in order not to spoil the build
45− # environment overly, but also to keep hash-backwards-compatible with the old cabal.nix.
46− internalAttrs = [
47− "internalAttrs" "buildDepends" "buildTools" "extraLibraries" "pkgconfigDepends"
48− "isLibrary" "isExecutable" "testDepends"
49− ];
50−
51− # Stuff happening after the user preferences have been processed. We remove
52− # internal attributes and strip null elements from the dependency lists, all
53− # in the interest of keeping hashes stable.
54− postprocess =
55− x : (removeAttrs x internalAttrs) // {
56− buildInputs = filter (y : ! (y == null)) x.buildInputs;
57− propagatedBuildInputs = filter (y : ! (y == null)) x.propagatedBuildInputs;
58− propagatedUserEnvPkgs = filter (y : ! (y == null)) x.propagatedUserEnvPkgs;
59− doCheck = enableCheckPhase && x.doCheck;
60− useCpphs = enableCpphs && x.useCpphs;
61− hyperlinkSource = enableHyperlinkSource && x.hyperlinkSource;
62− # Disable Darwin builds: <https://github.com/NixOS/nixpkgs/issues/2689>.
63− meta = let meta = x.meta or {};
64− hydraPlatforms = meta.hydraPlatforms or meta.platforms or [];
65− noElem = p: ps: !stdenv.lib.elem p ps;
66− noDarwin = p: noElem p stdenv.lib.platforms.darwin;
67− in
68− meta // { hydraPlatforms = filter noDarwin hydraPlatforms; };
69− };
70−
71− defaults =
72− self : { # self is the final version of the attribute set
73−
74− # pname should be defined by the client to be the package basename
75− # version should be defined by the client to be the package version
76−
77− # fname is the internal full name of the package
78− fname = "${self.pname}-${self.version}";
79−
80− # name is the external full name of the package; usually we prefix
81− # all packages with haskell- to avoid name clashes for libraries;
82− # if that is not desired (for applications), name can be set to
83− # fname.
84− name = if self.isLibrary then
85− if enableLibraryProfiling && self.enableSharedLibraries then
86− "haskell-${self.pname}-ghc${ghc.ghc.version}-${self.version}-profiling-shared"
87− else if enableLibraryProfiling && !self.enableSharedLibraries then
88− "haskell-${self.pname}-ghc${ghc.ghc.version}-${self.version}-profiling"
89− else if !enableLibraryProfiling && self.enableSharedLibraries then
90− "haskell-${self.pname}-ghc${ghc.ghc.version}-${self.version}-shared"
91− else
92− "haskell-${self.pname}-ghc${ghc.ghc.version}-${self.version}"
93− else
94− "${self.pname}-${self.version}";
95−
96− # the default download location for Cabal packages is Hackage,
97− # you still have to specify the checksum
98− src = fetchurl {
99− url = "mirror://hackage/${self.pname}/${self.fname}.tar.gz";
100− inherit (self) sha256;
101− };
102−
103− # default buildInputs are just ghc, if more buildInputs are required
104− # buildInputs can be extended by the client by using extraBuildInputs,
105− # but often propagatedBuildInputs is preferable anyway
106− buildInputs = [ghc Cabal] ++ self.extraBuildInputs;
107− extraBuildInputs = self.buildTools ++
108− (optionals self.doCheck self.testDepends) ++
109− (optional self.hyperlinkSource hscolour) ++
110− (optional self.useCpphs cpphs) ++
111− (if self.pkgconfigDepends == [] then [] else [pkgconfig]) ++
112− (if self.isLibrary then [] else self.buildDepends ++ self.extraLibraries ++ self.pkgconfigDepends);
113−
114− # we make sure that propagatedBuildInputs is defined, so that we don't
115− # have to check for its existence
116− propagatedBuildInputs = if self.isLibrary then self.buildDepends ++ self.extraLibraries ++ self.pkgconfigDepends else [];
117−
118− # By default, also propagate all dependencies to the user environment. This is required, otherwise packages would be broken, because
119− # GHC also needs all dependencies to be available.
120− propagatedUserEnvPkgs = if self.isLibrary then self.buildDepends else [];
121−
122− # library directories that have to be added to the Cabal files
123− extraLibDirs = [];
124−
125− # build-depends Cabal field
126− buildDepends = [];
127−
128− # target(s) passed to the cabal build phase as an argument
129− buildTarget = "";
130−
131− # build-depends Cabal fields stated in test-suite stanzas
132− testDepends = [];
133−
134− # target(s) passed to the cabal test phase as an argument
135− testTarget = "";
136−
137− # build-tools Cabal field
138− buildTools = [];
139−
140− # extra-libraries Cabal field
141− extraLibraries = [];
142−
143− # pkgconfig-depends Cabal field
144− pkgconfigDepends = [];
145−
146− isLibrary = ! self.isExecutable;
147− isExecutable = false;
148−
149− # ignore version restrictions on the build inputs that the cabal file might specify
150− jailbreak = false;
151−
152− # pass the '--enable-split-objs' flag to cabal in the configure stage
153− enableSplitObjs = !stdenv.isDarwin; # http://hackage.haskell.org/trac/ghc/ticket/4013
154−
155− # pass the '--enable-tests' flag to cabal in the configure stage
156− # and run any regression test suites the package might have
157− doCheck = enableCheckPhase;
158−
159− # force cpphs instead of the C compiler's preprocessor; sometimes
160− # needed due to clang's wacky behavior
161− useCpphs = false;
162−
163− # pass the '--hyperlink-source' flag to ./Setup haddock
164− hyperlinkSource = enableHyperlinkSource;
165−
166− # abort the build if the configure phase detects that the package
167− # depends on multiple versions of the same build input
168− strictConfigurePhase = true;
169−
170− # pass the '--enable-library-vanilla' flag to cabal in the
171− # configure stage to enable building shared libraries
172− inherit enableStaticLibraries;
173−
174− # pass the '--enable-shared' flag to cabal in the configure
175− # stage to enable building shared libraries
176− inherit enableSharedLibraries;
177−
178− # pass the '--enable-executable-dynamic' flag to cabal in
179− # the configure stage to enable linking shared libraries
180− inherit enableSharedExecutables;
181−
182− extraConfigureFlags = [
183− (enableFeature self.enableSplitObjs "split-objs")
184− (enableFeature enableLibraryProfiling "library-profiling")
185− (enableFeature self.enableSharedLibraries "shared")
186− (optional (versionOlder "7" ghc.version) (enableFeature self.enableStaticLibraries "library-vanilla"))
187− (optional (versionOlder "7.4" ghc.version) (enableFeature self.enableSharedExecutables "executable-dynamic"))
188− (optional (versionOlder "7" ghc.version) (enableFeature self.doCheck "tests"))
189− ];
190−
191− # GHC needs the locale configured during the Haddock phase.
192− LANG = "en_US.UTF-8";
193− LOCALE_ARCHIVE = optionalString stdenv.isLinux "${glibcLocales}/lib/locale/locale-archive";
194−
195− # compiles Setup and configures
196− configurePhase = ''
197− eval "$preConfigure"
198−
199− ${let newCabalFile = fetchurl {
200− url = "http://hackage.haskell.org/package/${self.fname}/${self.pname}.cabal";
201− sha256 = self.editedCabalFile;
202− };
203− in
204− optionalString (self.editedCabalFile or "" != "") ''
205− echo "Replace Cabal file with edited version ${newCabalFile}."
206− cp ${newCabalFile} ${self.pname}.cabal
207− ''
208− }${optionalString self.jailbreak "${jailbreakCabal}/bin/jailbreak-cabal ${self.pname}.cabal"}
209−
210− for i in Setup.hs Setup.lhs ${defaultSetupHs}; do
211− test -f $i && break
212− done
213− ghc --make -o Setup -odir $TMPDIR -hidir $TMPDIR $i
214−
215− for p in $extraBuildInputs $propagatedNativeBuildInputs; do
216− if [ -d "$p/lib/ghc-${ghc.ghc.version}/package.conf.d" ]; then
217− # Haskell packages don't need any extra configuration.
218− continue;
219− fi
220− if [ -d "$p/include" ]; then
221− extraConfigureFlags+=" --extra-include-dirs=$p/include"
222− fi
223− for d in lib{,64}; do
224− if [ -d "$p/$d" ]; then
225− extraConfigureFlags+=" --extra-lib-dirs=$p/$d"
226− fi
227− done
228− done
229−
230− configureFlags+=" --with-gcc=$CC"
231−
232− ${optionalString (self.enableSharedExecutables && self.stdenv.isLinux) ''
233− configureFlags+=" --ghc-option=-optl=-Wl,-rpath=$out/lib/${ghc.ghc.name}/${self.pname}-${self.version}"
234− ''}
235− ${optionalString (self.enableSharedExecutables && self.stdenv.isDarwin) ''
236− configureFlags+=" --ghc-option=-optl=-Wl,-headerpad_max_install_names"
237− ''}
238− ${optionalString (versionOlder "7.8" ghc.version && !self.isLibrary) ''
239− configureFlags+=" --ghc-option=-j$NIX_BUILD_CORES"
240− ''}
241− ${optionalString self.useCpphs ''
242− configureFlags+=" --ghc-option=-pgmPcpphs --ghc-option=-optP--cpp"
243− ''}
244−
245− ${optionalString self.stdenv.isDarwin ''
246− configureFlags+=" --with-gcc=clang"
247− ''}
248−
249− echo "configure flags: $extraConfigureFlags $configureFlags"
250− ./Setup configure --verbose --prefix="$out" --libdir='$prefix/lib/$compiler' \
251− --libsubdir='$pkgid' $extraConfigureFlags $configureFlags 2>&1 \
252− ${optionalString self.strictConfigurePhase ''
253− | ${coreutils}/bin/tee "$NIX_BUILD_TOP/cabal-configure.log"
254− if ${gnugrep}/bin/egrep -q '^Warning:.*depends on multiple versions' "$NIX_BUILD_TOP/cabal-configure.log"; then
255− echo >&2 "*** abort because of serious configure-time warning from Cabal"
256− exit 1
257− fi
258− ''}
259−
260− eval "$postConfigure"
261− '';
262−
263− # builds via Cabal
264− buildPhase = ''
265− eval "$preBuild"
266−
267− ./Setup build ${self.buildTarget}
268−
269− export GHC_PACKAGE_PATH=$(${ghc.GHCPackages})
270− test -n "$noHaddock" || ./Setup haddock --html --hoogle \
271− ${optionalString (stdenv.lib.versionOlder "6.12" ghc.version) "--ghc-options=-optP-P"} \
272− ${optionalString self.hyperlinkSource "--hyperlink-source"} \
273− ${optionalString self.useCpphs ''
274− --haddock-options="--optghc=-pgmPcpphs --optghc=-optP--cpp"
275− ''}
276−
277− eval "$postBuild"
278− '';
279−
280− checkPhase = optional self.doCheck ''
281− eval "$preCheck"
282−
283− ./Setup test ${self.testTarget}
284−
285− eval "$postCheck"
286− '';
287−
288− # installs via Cabal; creates a registration file for nix-support
289− # so that the package can be used in other Haskell-builds; also
290− # adds all propagated build inputs to the user environment packages
291− installPhase = ''
292− eval "$preInstall"
293−
294− ./Setup copy
295−
296− mkdir -p $out/bin # necessary to get it added to PATH
297−
298− local confDir=$out/lib/ghc-${ghc.ghc.version}/package.conf.d
299− local installedPkgConf=$confDir/${self.fname}.installedconf
300− local pkgConf=$confDir/${self.fname}.conf
301− mkdir -p $confDir
302− ./Setup register --gen-pkg-config=$pkgConf
303− if test -f $pkgConf; then
304− echo '[]' > $installedPkgConf
305− GHC_PACKAGE_PATH=$installedPkgConf ghc-pkg --global register $pkgConf --force
306− fi
307−
308− if test -f $out/nix-support/propagated-native-build-inputs; then
309− ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages
310− fi
311−
312− ${optionalString (self.enableSharedExecutables && self.isExecutable && self.stdenv.isDarwin) ''
313− for exe in "$out/bin/"* ; do
314− install_name_tool -add_rpath \
315− $out/lib/${ghc.ghc.name}/${self.pname}-${self.version} $exe
316− done
317− ''}
318−
319− eval "$postInstall"
320− '';
321−
322− # We inherit stdenv and ghc so that they can be used
323− # in Cabal derivations.
324− inherit stdenv ghc;
325− };
326− in
327− stdenv.mkDerivation (postprocess (let super = defaults self // args self;
328− self = super // extension self super;
329− in self));
330−}
pkgs/development/compilers/agda/default.nixdeleted−36
@@ -1,36 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, alex, binary, boxes, cpphs, dataHash, deepseq, emacs
4−, equivalence, filepath, geniplate, happy, hashable, hashtables
5−, haskeline, haskellSrcExts, mtl, parallel, QuickCheck
6−, STMonadTrans, strict, text, time, transformers
7−, unorderedContainers, xhtml, zlib
8−}:
9−
10−cabal.mkDerivation (self: {
11− pname = "Agda";
12− version = "2.4.2.2";
13− sha256 = "1hxvapnvlkx6imifswc70ng869zll0zfsygivhc2mjyhaiv10i13";
14− isLibrary = true;
15− isExecutable = true;
16− buildDepends = [
17− binary boxes dataHash deepseq equivalence filepath geniplate
18− hashable hashtables haskeline haskellSrcExts mtl parallel
19− QuickCheck STMonadTrans strict text time transformers
20− unorderedContainers xhtml zlib
21− ];
22− buildTools = [ alex cpphs emacs happy ];
23− noHaddock = true;
24− jailbreak = true;
25− postInstall = ''
26− $out/bin/agda -c --no-main $(find $out/share -name Primitive.agda)
27− $out/bin/agda-mode compile
28− '';
29− meta = {
30− homepage = "http://wiki.portal.chalmers.se/agda/";
31− description = "A dependently typed functional programming language and proof assistant";
32− license = "unknown";
33− platforms = self.ghc.meta.platforms;
34− maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ];
35− };
36−})
pkgs/development/compilers/clash-ghc/default.nixdeleted−33
@@ -1,33 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, bifunctors, clashLib, clashPrelude, filepath, ghcPaths
4−, hashable, haskeline, lens, makeWrapper, mtl, text, transformers, unbound
5−, unorderedContainers, thLift
6−}:
7−
8−cabal.mkDerivation (self: {
9− pname = "clash-ghc";
10− version = "0.4";
11− sha256 = "0pyv8snrmy7x9gv6xna5rd5chacrdvczcjs7854b80pifhag5c2g";
12− isLibrary = false;
13− isExecutable = true;
14− buildDepends = [
15− bifunctors clashLib clashPrelude filepath ghcPaths hashable
16− haskeline lens mtl text transformers unbound unorderedContainers
17− thLift
18− ];
19− buildTools = [ makeWrapper ];
20− postInstall = ''
21− echo ${clashPrelude}
22− wrapProgram $out/bin/clash \
23− --add-flags "-package-db ${clashPrelude}/lib/ghc-${self.ghc.version}/package.conf.d/${clashPrelude.fname}.installedconf" \
24− --add-flags "-package-db ${thLift}/lib/ghc-${self.ghc.version}/package.conf.d/${thLift.fname}.installedconf" \
25− --add-flags "\$(${self.ghc.GHCGetPackages} ${self.ghc.version} \"\$(dirname \$0)\" \"-package-db\")"
26− '';
27− meta = {
28− homepage = "http://christiaanb.github.io/clash2";
29− description = "CAES Language for Synchronous Hardware";
30− license = "unknown";
31− platforms = self.ghc.meta.platforms;
32− };
33−})
pkgs/development/compilers/elm/elm-compiler.nixdeleted−34
@@ -1,34 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, aeson, aesonPretty, binary, blazeHtml, blazeMarkup
4−, cmdargs, filemanip, filepath, HUnit, indents, languageEcmascript
5−, languageGlsl, mtl, parsec, QuickCheck, testFramework
6−, testFrameworkHunit, testFrameworkQuickcheck2, text, transformers
7−, unionFind, unorderedContainers
8−}:
9−
10−cabal.mkDerivation (self: {
11− pname = "elm-compiler";
12− version = "0.14.1";
13− sha256 = "0my04mipgia5qw02nzzrzc4kq3vl7bv75rzrsmd2bdb2wll1k94f";
14− isLibrary = true;
15− isExecutable = true;
16− buildDepends = [
17− aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filepath
18− indents languageEcmascript languageGlsl mtl parsec text
19− transformers unionFind unorderedContainers
20− ];
21− testDepends = [
22− aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filemanip
23− filepath HUnit indents languageEcmascript languageGlsl mtl parsec
24− QuickCheck testFramework testFrameworkHunit
25− testFrameworkQuickcheck2 text transformers unionFind
26− unorderedContainers
27− ];
28− meta = {
29− homepage = "http://elm-lang.org";
30− description = "Values to help with elm-package, elm-make, and elm-lang.org";
31− license = self.stdenv.lib.licenses.bsd3;
32− platforms = self.ghc.meta.platforms;
33− };
34−})
pkgs/development/compilers/elm/elm-get.nixdeleted−25
@@ -1,25 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, aeson, aesonPretty, ansiWlPprint, binary, Elm, filepath
4−, HTTP, httpClient, httpClientTls, httpTypes, mtl, network
5−, optparseApplicative, vector
6−}:
7−
8−cabal.mkDerivation (self: {
9− pname = "elm-get";
10− version = "0.1.3";
11− sha256 = "1did7vjd1h2kh5alndd2b63zi8b1m9hf6k1k75yxwvw6f6mz5i4q";
12− isLibrary = true;
13− isExecutable = true;
14− buildDepends = [
15− aeson aesonPretty ansiWlPprint binary Elm filepath HTTP httpClient
16− httpClientTls httpTypes mtl network optparseApplicative vector
17− ];
18− jailbreak = true;
19− meta = {
20− homepage = "http://github.com/elm-lang/elm-get";
21− description = "Tool for sharing and using Elm libraries";
22− license = self.stdenv.lib.licenses.bsd3;
23− platforms = self.ghc.meta.platforms;
24− };
25−})
pkgs/development/compilers/elm/elm-make.nixdeleted−23
@@ -1,23 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, ansiWlPprint, binary, blazeHtml, blazeMarkup, elmCompiler
4−, elmPackage, filepath, mtl, optparseApplicative, text
5−}:
6−
7−cabal.mkDerivation (self: {
8− pname = "elm-make";
9− version = "0.1.1";
10− sha256 = "02mqr6v146piwrhycnmlxnky5bmsl7ap7781qmcwkfmc89wfa4zl";
11− isLibrary = false;
12− isExecutable = true;
13− buildDepends = [
14− ansiWlPprint binary blazeHtml blazeMarkup elmCompiler elmPackage
15− filepath mtl optparseApplicative text
16− ];
17− meta = {
18− homepage = "http://elm-lang.org";
19− description = "A build tool for Elm projects";
20− license = self.stdenv.lib.licenses.bsd3;
21− platforms = self.ghc.meta.platforms;
22− };
23−})
pkgs/development/compilers/elm/elm-package.nixdeleted−26
@@ -1,26 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, aeson, aesonPretty, ansiWlPprint, binary, elmCompiler
4−, filepath, HTTP, httpClient, httpClientTls, httpTypes, mtl
5−, network, optparseApplicative, text, time, unorderedContainers
6−, vector, zipArchive
7−}:
8−
9−cabal.mkDerivation (self: {
10− pname = "elm-package";
11− version = "0.4";
12− sha256 = "0vsq87imyvs1sa2n4z41b6qswy2cknxsg4prhwc9r7lvyljkmn03";
13− isLibrary = true;
14− isExecutable = true;
15− buildDepends = [
16− aeson aesonPretty ansiWlPprint binary elmCompiler filepath HTTP
17− httpClient httpClientTls httpTypes mtl network optparseApplicative
18− text time unorderedContainers vector zipArchive
19− ];
20− meta = {
21− homepage = "http://github.com/elm-lang/elm-package";
22− description = "Package manager for Elm libraries";
23− license = self.stdenv.lib.licenses.bsd3;
24− platforms = self.ghc.meta.platforms;
25− };
26−})
pkgs/development/compilers/elm/elm-reactor-exact-dependencies.jsondeleted−6
@@ -1,6 +0,0 @@
1−{
2− "evancz/virtual-dom": "1.1.0",
3− "evancz/elm-markdown": "1.1.2",
4− "evancz/elm-html": "1.1.0",
5− "elm-lang/core": "1.1.0"
6−}
pkgs/development/compilers/elm/elm-reactor.nixdeleted−68
@@ -1,68 +0,0 @@
1−{ unzip, fetchurl, fetchFromGitHub, cabal, blazeHtml, blazeMarkup, cmdargs, elmCompiler, elmMake, filepath
2−, fsnotify, HTTP, mtl, snapCore, snapServer, systemFilepath, text
3−, time, transformers, unorderedContainers, websockets
4−, websocketsSnap
5−}:
6−
7−cabal.mkDerivation (self: rec {
8− pname = "elm-reactor";
9− version = "0.3";
10− isLibrary = false;
11− isExecutable = true;
12− buildTools = [ unzip ];
13−
14− src = fetchFromGitHub {
15− owner = "elm-lang";
16− repo = "elm-reactor";
17− rev = "176ff8e05e4bb7474752da1b3455c83d6181d594";
18− sha256 = "1marjqlmmq3a74g9f3ngk90h9mkhillcdwfsys6x0nqj6qirw4ph";
19− };
20− elmLangCore = fetchurl {
21− url = "https://github.com/elm-lang/core/archive/1.1.0.zip";
22− sha256 = "1fhvghjsay1p82k13039wbd02k439yplv2rh9zr77zvcbih6a31j";
23− };
24− elmHtml = fetchurl {
25− url = "https://github.com/evancz/elm-html/archive/1.1.0.zip";
26− sha256 = "01wshabxsdrxcxs2nn3dhk7n8720sp3prpkahhx36vvprdh05l4q";
27− };
28− elmMarkdown = fetchurl {
29− url = "https://github.com/evancz/elm-markdown/archive/1.1.2.zip";
30− sha256 = "14y1wp28za50zypdzyvl5d57hkm0v3rgnzm5klv3jcbd625kr9bg";
31− };
32− virtualDom = fetchurl {
33− url = "https://github.com/evancz/virtual-dom/archive/1.1.0.zip";
34− sha256 = "08dr7q0x1ycgj5b15s2kn1a45iw350gzq65c3lxp47xfffq1vz91";
35− };
36− elmStuff = ./elm-reactor-exact-dependencies.json;
37−
38− preConfigure = ''
39− unzip -d $TEMPDIR -q ${elmLangCore}
40− mkdir -p elm-stuff/packages/elm-lang/core/1.1.0
41− cp -pr $TEMPDIR/core-1.1.0/* elm-stuff/packages/elm-lang/core/1.1.0/
42−
43− unzip -d $TEMPDIR -q ${elmHtml}
44− mkdir -p elm-stuff/packages/evancz/elm-html/1.1.0
45− cp -pr $TEMPDIR/elm-html-1.1.0/* elm-stuff/packages/evancz/elm-html/1.1.0
46−
47− unzip -d $TEMPDIR -q ${elmMarkdown}
48− mkdir -p elm-stuff/packages/evancz/elm-markdown/1.1.2
49− cp -pr $TEMPDIR/elm-markdown-1.1.2/* elm-stuff/packages/evancz/elm-markdown/1.1.2
50−
51− unzip -d $TEMPDIR -q ${virtualDom}
52− mkdir -p elm-stuff/packages/evancz/virtual-dom/1.1.0
53− cp -pr $TEMPDIR/virtual-dom-1.1.0/* elm-stuff/packages/evancz/virtual-dom/1.1.0
54−
55− cp ${elmStuff} elm-stuff/exact-dependencies.json
56− '';
57− buildDepends = [
58− blazeHtml blazeMarkup cmdargs elmCompiler filepath fsnotify HTTP
59− mtl snapCore snapServer systemFilepath text time transformers
60− unorderedContainers websockets websocketsSnap elmMake
61− ];
62− meta = {
63− homepage = "http://elm-lang.org";
64− description = "Interactive development tool for Elm programs";
65− license = self.stdenv.lib.licenses.bsd3;
66− platforms = self.ghc.meta.platforms;
67− };
68−})
pkgs/development/compilers/elm/elm-repl.nixdeleted−28
@@ -1,28 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, bytestringTrie, cmdargs, Elm, filepath, haskeline, HUnit
4−, mtl, parsec, QuickCheck, testFramework, testFrameworkHunit
5−, testFrameworkQuickcheck2
6−}:
7−
8−cabal.mkDerivation (self: {
9− pname = "elm-repl";
10− version = "0.3";
11− sha256 = "10a4a2ybg5dlshpklnisb957lknb0w8s3ppaq5p5y6ylqik8ak0a";
12− isLibrary = false;
13− isExecutable = true;
14− buildDepends = [
15− bytestringTrie cmdargs Elm filepath haskeline mtl parsec
16− ];
17− testDepends = [
18− bytestringTrie cmdargs Elm filepath haskeline HUnit mtl parsec
19− QuickCheck testFramework testFrameworkHunit
20− testFrameworkQuickcheck2
21− ];
22− meta = {
23− homepage = "https://github.com/elm-lang/elm-repl";
24− description = "a REPL for Elm";
25− license = self.stdenv.lib.licenses.bsd3;
26− platforms = self.ghc.meta.platforms;
27− };
28−})
pkgs/development/compilers/elm/elm-server.nixdeleted−23
@@ -1,23 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, cmdargs, Elm, filepath, mtl, snapCore, snapServer
4−, unorderedContainers
5−}:
6−
7−cabal.mkDerivation (self: {
8− pname = "elm-server";
9− version = "0.11.0.1";
10− sha256 = "0nnkhmmm4cl6a314xxh5qwxkjsc3k3vcwdfar62578ykarxb53g1";
11− isLibrary = false;
12− isExecutable = true;
13− buildDepends = [
14− cmdargs Elm filepath mtl snapCore snapServer unorderedContainers
15− ];
16− jailbreak = true;
17− meta = {
18− homepage = "http://elm-lang.org";
19− description = "Server for developing Elm projects";
20− license = self.stdenv.lib.licenses.bsd3;
21− platforms = self.ghc.meta.platforms;
22− };
23−})
pkgs/development/compilers/elm/elm.nixdeleted−40
@@ -1,40 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, aeson, aesonPretty, binary, blazeHtml, blazeMarkup
4−, cheapskate, cmdargs, filemanip, filepath, highlightingKate, HUnit
5−, indents, languageEcmascript, languageGlsl, mtl, parsec
6−, QuickCheck, testFramework, testFrameworkHunit
7−, testFrameworkQuickcheck2, text, transformers, unionFind
8−, unorderedContainers
9−}:
10−
11−cabal.mkDerivation (self: {
12− pname = "Elm";
13− version = "0.13";
14− sha256 = "1l6p00h0717blwvia0gvqpsakq8jy44fxc6brr4qxs5g4yjcjnmh";
15− isLibrary = true;
16− isExecutable = true;
17− buildDepends = [
18− aeson aesonPretty binary blazeHtml blazeMarkup cheapskate cmdargs
19− filepath highlightingKate indents languageEcmascript languageGlsl
20− mtl parsec text transformers unionFind unorderedContainers
21− ];
22− testDepends = [
23− aeson aesonPretty binary blazeHtml blazeMarkup cheapskate cmdargs
24− filemanip filepath highlightingKate HUnit indents
25− languageEcmascript languageGlsl mtl parsec QuickCheck testFramework
26− testFrameworkHunit testFrameworkQuickcheck2 text transformers
27− unionFind unorderedContainers
28− ];
29− doCheck = false;
30− preConfigure = ''
31− rm -f Setup.hs
32− echo -e "import Distribution.Simple\nmain=defaultMain\n" > Setup.hs
33− '';
34− meta = {
35− homepage = "http://elm-lang.org";
36− description = "The Elm language module";
37− license = self.stdenv.lib.licenses.bsd3;
38− platforms = self.ghc.meta.platforms;
39− };
40−})
pkgs/development/compilers/epic/default.nixdeleted−20
@@ -1,20 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, boehmgc, Cabal, gmp, happy, mtl }:
4−
5−cabal.mkDerivation (self: {
6− pname = "epic";
7− version = "0.9.3.2";
8− sha256 = "1l73absns4ci20brkdjg1r1l9p4xxx88vax736diqik7rl7zrx9h";
9− isLibrary = true;
10− isExecutable = true;
11− buildDepends = [ Cabal mtl ];
12− buildTools = [ happy ];
13− extraLibraries = [ boehmgc gmp ];
14− meta = {
15− homepage = "http://www.dcs.st-and.ac.uk/~eb/epic.php";
16− description = "Compiler for a simple functional language";
17− license = self.stdenv.lib.licenses.bsd3;
18− platforms = self.ghc.meta.platforms;
19− };
20−})
pkgs/development/compilers/idris/default.nixdeleted−34
@@ -1,34 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, annotatedWlPprint, ansiTerminal, ansiWlPprint
4−, base64Bytestring, binary, blazeHtml, blazeMarkup, boehmgc
5−, cheapskate, deepseq, filepath, fingertree, gmp, happy, haskeline
6−, lens, libffi, mtl, network, optparseApplicative, parsers, split
7−, text, time, transformers, trifecta, unorderedContainers
8−, utf8String, vector, vectorBinaryInstances, xml, zlib
9−}:
10−
11−cabal.mkDerivation (self: {
12− pname = "idris";
13− version = "0.9.15.1";
14− sha256 = "0r31jcqs9kgknm66v7bbcgj9md7z49sgvn0nhk1dwg8jj2rmfll8";
15− isLibrary = true;
16− isExecutable = true;
17− buildDepends = [
18− annotatedWlPprint ansiTerminal ansiWlPprint base64Bytestring binary
19− blazeHtml blazeMarkup cheapskate deepseq filepath fingertree
20− haskeline lens libffi mtl network optparseApplicative parsers split
21− text time transformers trifecta unorderedContainers utf8String
22− vector vectorBinaryInstances xml zlib
23− ];
24− buildTools = [ happy ];
25− extraLibraries = [ boehmgc gmp ];
26− configureFlags = "-fgmp -fffi";
27− jailbreak = true;
28− meta = {
29− homepage = "http://www.idris-lang.org/";
30− description = "Functional Programming Language with Dependent Types";
31− license = self.stdenv.lib.licenses.bsd3;
32− platforms = self.ghc.meta.platforms;
33− };
34−})
pkgs/development/compilers/idris/wrapper.nixdeleted−11
@@ -1,11 +0,0 @@
1−{ stdenv, gmp, makeWrapper, runCommand, idris_plain, boehmgc}:
2−
3−runCommand "idris-wrapper" {} ''
4− source ${makeWrapper}/nix-support/setup-hook
5− mkdir -p $out/bin
6− ln -s ${idris_plain}/bin/idris $out/bin
7− wrapProgram $out/bin/idris \
8− --suffix NIX_CFLAGS_COMPILE : '"-I${gmp}/include -L${gmp}/lib -L${boehmgc}/lib"' \
9− --suffix PATH : ${stdenv.cc}/bin \
10− --suffix PATH : ${idris_plain}/bin
11−''
pkgs/development/compilers/pakcs/adjust-buildsystem.patchdeleted−43
@@ -1,43 +0,0 @@
1−diff -Naur pakcs-1.11.4-upstream/Makefile pakcs-1.11.4/Makefile
2−--- pakcs-1.11.4-upstream/Makefile 2014-10-24 05:12:37.000000000 -0430
3−+++ pakcs-1.11.4/Makefile 2015-01-05 16:26:39.256709080 -0430
4−@@ -94,7 +94,6 @@
5− install: cleanoldinfos installscripts copylibs
6− @echo "PAKCS installation configuration (file pakcsinitrc):"
7− @cat pakcsinitrc
8−- $(MAKE) frontend
9− # pre-compile all libraries:
10− @cd lib && $(MAKE) fcy
11− # install the Curry2Prolog compiler as a saved system:
12−@@ -145,10 +144,6 @@
13− # compile the tools:
14− .PHONY: tools
15− tools:
16−- # compile the Curry Port Name Server demon:
17−- @if [ -r bin/pakcs ] ; then cd cpns && $(MAKE) ; fi
18−- # compile the event handler demon for dynamic web pages:
19−- @if [ -r bin/pakcs ] ; then cd www && $(MAKE) ; fi
20− @if [ -r bin/pakcs ] ; then cd currytools && $(MAKE) ; fi
21− @if [ -r bin/pakcs ] ; then cd tools && $(MAKE) ; fi
22−
23−diff -Naur pakcs-1.11.4-upstream/scripts/pakcs.sh pakcs-1.11.4/scripts/pakcs.sh
24−--- pakcs-1.11.4-upstream/scripts/pakcs.sh 2014-10-24 05:06:07.000000000 -0430
25−+++ pakcs-1.11.4/scripts/pakcs.sh 2015-01-05 16:26:15.697982791 -0430
26−@@ -16,7 +16,7 @@
27− # use readline wrapper rlwrap if it is installed and we have tty as stdin:
28− USERLWRAP=no
29− if tty -s ; then
30−- RLWRAP=`which rlwrap`
31−+ RLWRAP=`type -P rlwrap`
32− if [ -x "$RLWRAP" ] ; then
33− USERLWRAP=yes
34− fi
35−@@ -29,7 +29,7 @@
36− done
37−
38− if [ $USERLWRAP = yes ] ; then
39−- exec rlwrap -c -f "$PAKCSHOME/tools/rlwrap" "$REPL" ${1+"$@"}
40−+ exec rlwrap -a -c -f "$PAKCSHOME/tools/rlwrap" "$REPL" ${1+"$@"}
41− else
42− exec "$REPL" ${1+"$@"}
43− fi
pkgs/development/compilers/pakcs/default.nixdeleted−111
@@ -1,111 +0,0 @@
1−{ stdenv, fetchurl, cabal, swiProlog, either, mtl, syb
2−, glibcLocales, makeWrapper, rlwrap, tk, which }:
3−
4−let
5− fname = "pakcs-1.11.4";
6−
7− fsrc = fetchurl {
8− url = "http://www.informatik.uni-kiel.de/~pakcs/download/${fname}-src.tar.gz";
9− sha256 = "1xsn8h58pi1jp8wr4abyrqdps840j8limyv5i812z49npf91fy5c";
10− };
11−
12−in
13−stdenv.mkDerivation rec {
14−
15− name = fname;
16−
17− curryBase = cabal.mkDerivation(self: {
18− pname = "curryBase";
19− version = "local";
20− src = fsrc;
21− sourceRoot = "${name}/frontend/curry-base";
22− isLibrary = true;
23− buildDepends = [ mtl syb ];
24− });
25−
26− curryFront = cabal.mkDerivation(self: {
27− pname = "curryFront";
28− version = "local";
29− src = fsrc;
30− sourceRoot = "${name}/frontend/curry-frontend";
31− isLibrary = true;
32− isExecutable = true;
33− buildDepends = [ either mtl syb curryBase ];
34− });
35−
36− src = fsrc;
37−
38− buildInputs = [ swiProlog makeWrapper glibcLocales rlwrap tk which ];
39−
40− patches = [ ./adjust-buildsystem.patch ];
41−
42− configurePhase = ''
43− # Phony HOME.
44− mkdir phony-home
45− export HOME=$(pwd)/phony-home
46−
47− # SWI Prolog
48− sed -i 's@SWIPROLOG=@SWIPROLOG='${swiProlog}/bin/swipl'@' pakcsinitrc
49− '';
50−
51− buildPhase = ''
52− # Some comments in files are in UTF-8, so include the locale needed by GHC runtime.
53− export LC_ALL=en_US.UTF-8
54−
55− # PAKCS must be build in place due to embedded filesystem references placed by swi.
56−
57− # Prepare PAKCSHOME directory.
58− mkdir -p $out/pakcs/bin
59−
60− # Set up link to cymake, which has been built already.
61− ln -s ${curryFront}/bin/cymake $out/pakcs/bin/
62−
63− # Prevent embedding the derivation build directory as temp.
64− export TEMP=/tmp
65−
66− # Copy to in place build location and run the build.
67− cp -r * $out/pakcs
68− (cd $out/pakcs ; make)
69− '';
70−
71− installPhase = ''
72− # Install bin.
73− mkdir -p $out/bin
74− for b in $(ls $out/pakcs/bin) ; do
75− ln -s $out/pakcs/bin/$b $out/bin/ ;
76− done
77−
78− # Place emacs lisp files in expected locations.
79− mkdir -p $out/share/emacs/site-lisp/curry-pakcs
80− for e in "$out/tools/emacs/"*.el ; do
81− cp $e $out/share/emacs/site-lisp/curry-pakcs/ ;
82− done
83−
84− # Wrap for rlwrap and tk support.
85− wrapProgram $out/pakcs/bin/pakcs \
86− --prefix PATH ":" "${rlwrap}/bin" \
87− --prefix PATH ":" "${tk}/bin" \
88− '';
89−
90− meta = {
91− homepage = "http://www.informatik.uni-kiel.de/~pakcs/";
92− description = "An implementation of the multi-paradigm declarative language Curry";
93− license = stdenv.lib.licenses.bsd3;
94−
95− longDescription = ''
96− PAKCS is an implementation of the multi-paradigm declarative language
97− Curry jointly developed by the Portland State University, the Aachen
98− University of Technology, and the University of Kiel. Although this is
99− not a highly optimized implementation but based on a high-level
100− compilation of Curry programs into Prolog programs, it is not a toy
101− implementation but has been used for a variety of applications (e.g.,
102− graphical programming environments, an object-oriented front-end for
103− Curry, partial evaluators, database applications, HTML programming
104− with dynamic web pages, prototyping embedded systems).
105− '';
106−
107− maintainers = [ stdenv.lib.maintainers.kkallio ];
108− platforms = stdenv.lib.platforms.linux;
109− hydraPlatforms = stdenv.lib.platforms.none;
110− };
111−}
pkgs/development/tools/documentation/haddock/default.nixdeleted−20
@@ -1,20 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, Cabal, filepath, haddockApi }:
4−
5−cabal.mkDerivation (self: {
6− pname = "haddock";
7− version = "2.15.0.1";
8− sha256 = "0pvhhqackfikmp5zg6v6lysvr69f3f9f78xcjs4sd68f0rby7fdp";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [ haddockApi ];
12− testDepends = [ Cabal filepath ];
13− preCheck = "unset GHC_PACKAGE_PATH";
14− meta = {
15− homepage = "http://www.haskell.org/haddock/";
16− description = "A documentation-generation tool for Haskell libraries";
17− license = self.stdenv.lib.licenses.bsd3;
18− platforms = self.ghc.meta.platforms;
19− };
20−})
pkgs/development/tools/misc/ShellCheck/default.nixdeleted−25
@@ -1,25 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, json, mtl, parsec, QuickCheck, regexCompat, transformers
4−}:
5−
6−cabal.mkDerivation (self: {
7− pname = "ShellCheck";
8− version = "0.3.5";
9− sha256 = "0x4rvhpzrjkn9a9fsmp9iwv9g21hkrd8fgq05iy4wgv8nfhgv2cj";
10− isLibrary = true;
11− isExecutable = true;
12− buildDepends = [
13− json mtl parsec QuickCheck regexCompat transformers
14− ];
15− testDepends = [
16− json mtl parsec QuickCheck regexCompat transformers
17− ];
18− meta = {
19− homepage = "http://www.shellcheck.net/";
20− description = "Shell script analysis tool";
21− license = self.stdenv.lib.licenses.agpl3;
22− platforms = self.ghc.meta.platforms;
23− maintainers = with self.stdenv.lib.maintainers; [ aycanirican ];
24− };
25−})
pkgs/development/tools/misc/cpphs/default.nixdeleted−18
@@ -1,18 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, polyparse }:
4−
5−cabal.mkDerivation (self: {
6− pname = "cpphs";
7− version = "1.18.6";
8− sha256 = "0ds712zabigswf3cljzh7f2ys4rl1fj2cf76lbw856adm8514gxc";
9− isLibrary = true;
10− isExecutable = true;
11− buildDepends = [ polyparse ];
12− meta = {
13− homepage = "http://projects.haskell.org/cpphs/";
14− description = "A liberalised re-implementation of cpp, the C pre-processor";
15− license = "LGPL";
16− platforms = self.ghc.meta.platforms;
17− };
18−})
pkgs/development/tools/parsing/Ebnf2ps/default.nixdeleted−18
@@ -1,18 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, happy }:
4−
5−cabal.mkDerivation (self: {
6− pname = "Ebnf2ps";
7− version = "1.0.12";
8− sha256 = "1rd0pxj2bfx06z1p0sy8kdhyfg1y51gn1bhr71j33czls6m9ry8c";
9− isLibrary = false;
10− isExecutable = true;
11− buildTools = [ happy ];
12− meta = {
13− homepage = "https://github.com/FranklinChen/Ebnf2ps";
14− description = "Peter's Syntax Diagram Drawing Tool";
15− license = self.stdenv.lib.licenses.bsd3;
16− platforms = self.ghc.meta.platforms;
17− };
18−})
pkgs/development/tools/parsing/alex/2.3.5.nixdeleted−20
@@ -1,20 +0,0 @@
1−{ cabal, perl }:
2−
3−cabal.mkDerivation (self: {
4− pname = "alex";
5− version = "2.3.5";
6− sha256 = "0lyjiq4lmii2syk6838ln32qvn8c0ljf1ypsggahy748k05x79if";
7− isLibrary = false;
8− isExecutable = true;
9− buildTools = [ perl ];
10− doCheck = false;
11− patches = [ ./adapt-crazy-perl-regex-for-cpp-4.8.0.patch ];
12− meta = {
13− homepage = "http://www.haskell.org/alex/";
14− description = "Alex is a tool for generating lexical analysers in Haskell";
15− license = self.stdenv.lib.licenses.bsd3;
16− platforms = self.ghc.meta.platforms;
17− hydraPlatforms = self.stdenv.lib.platforms.none;
18− maintainers = [ self.stdenv.lib.maintainers.andres ];
19− };
20−})
pkgs/development/tools/parsing/alex/3.1.3.nixdeleted−19
@@ -1,19 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, happy, perl, QuickCheck }:
4−
5−cabal.mkDerivation (self: {
6− pname = "alex";
7− version = "3.1.3";
8− sha256 = "14hajxpqb6va5mclp2k682bgw9sbmd372vw41kq5aq815bkschcd";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [ QuickCheck ];
12− buildTools = [ happy perl ];
13− meta = {
14− homepage = "http://www.haskell.org/alex/";
15− description = "Alex is a tool for generating lexical analysers in Haskell";
16− license = self.stdenv.lib.licenses.bsd3;
17− platforms = self.ghc.meta.platforms;
18− };
19−})
pkgs/development/tools/parsing/alex/adapt-crazy-perl-regex-for-cpp-4.8.0.patchdeleted−12
@@ -1,12 +0,0 @@
1−diff -ubr alex-2.3.5-orig/Setup.lhs alex-2.3.5/Setup.lhs
2−--- alex-2.3.5-orig/Setup.lhs 2013-04-19 12:00:15.812606335 +0000
3−+++ alex-2.3.5/Setup.lhs 2013-04-19 12:05:41.635450321 +0000
4−@@ -25,7 +25,7 @@
5− -- hack to turn cpp-style '# 27 "GenericTemplate.hs"' into
6− -- '{-# LINE 27 "GenericTemplate.hs" #-}'.
7− crazy_perl_regexp =
8−- "s/^#\\s+(\\d+)\\s+(\"[^\"]*\")/{-# LINE \\1 \\2 #-}/g;s/\\$(Id:.*)\\$/\\1/g"
9−+ "s/^#\\s+(\\d+)\\s+(\"[^\"]*\").*/{-# LINE \\1 \\2 #-}/g;s/\\$(Id:.*)\\$/\\1/g"
10−
11− myPostBuild _ flags _ lbi = do
12− let runProgram p = rawSystemProgramConf (buildVerbose flags) p (withPrograms lbi)
pkgs/development/tools/parsing/happy/adapt-crazy-perl-regex-for-cpp-4.8.0.patchdeleted−12
@@ -1,12 +0,0 @@
1−diff -ubr happy-1.18.6-orig/Setup.lhs happy-1.18.6/Setup.lhs
2−--- happy-1.18.6-orig/Setup.lhs 2013-04-19 14:17:10.865999210 +0200
3−+++ happy-1.18.6/Setup.lhs 2013-04-19 14:17:15.285214809 +0200
4−@@ -25,7 +25,7 @@
5− -- hack to turn cpp-style '# 27 "GenericTemplate.hs"' into
6− -- '{-# LINE 27 "GenericTemplate.hs" #-}'.
7− crazy_perl_regexp =
8−- "s/^#\\s+(\\d+)\\s+(\"[^\"]*\")/{-# LINE \\1 \\2 #-}/g;s/\\$(Id:.*)\\$/\\1/g"
9−+ "s/^#\\s+(\\d+)\\s+(\"[^\"]*\").*/{-# LINE \\1 \\2 #-}/g;s/\\$(Id:.*)\\$/\\1/g"
10−
11− myPostBuild _ flags _ lbi = do
12− let runProgram p = rawSystemProgramConf (buildVerbose flags) p (withPrograms lbi)
pkgs/development/tools/parsing/happy/default.nixdeleted−19
@@ -1,19 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, mtl, perl }:
4−
5−cabal.mkDerivation (self: {
6− pname = "happy";
7− version = "1.19.4";
8− sha256 = "0vcklr1y6yjf8z4wip4al2zw4qlfxcahbdxwpf6c9y31dkv9kr3b";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [ mtl ];
12− buildTools = [ perl ];
13− meta = {
14− homepage = "http://www.haskell.org/happy/";
15− description = "Happy is a parser generator for Haskell";
16− license = self.stdenv.lib.licenses.bsd3;
17− platforms = self.ghc.meta.platforms;
18− };
19−})
pkgs/games/Allure/default.nixdeleted−19
@@ -1,19 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, enummapsetTh, filepath, LambdaHack, text }:
4−
5−cabal.mkDerivation (self: {
6− pname = "Allure";
7− version = "0.4.100.0";
8− sha256 = "15rkj5xab23wqr2d44xbri7hggbb3zmmka41xfiscqq4ifagfj4m";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [ enummapsetTh filepath LambdaHack text ];
12− testDepends = [ enummapsetTh filepath LambdaHack text ];
13− meta = {
14− homepage = "http://allureofthestars.com";
15− description = "Near-future Sci-Fi roguelike and tactical squad game";
16− license = "AGPL";
17− platforms = self.ghc.meta.platforms;
18− };
19−})
pkgs/games/LambdaHack/default.nixdeleted−35
@@ -1,35 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, assertFailure, async, binary, dataDefault, deepseq
4−, enummapsetTh, filepath, gtk, hashable, hsini, keys, miniutter
5−, mtl, prettyShow, random, stm, text, transformers
6−, unorderedContainers, vector, vectorBinaryInstances, zlib
7−}:
8−
9−cabal.mkDerivation (self: {
10− pname = "LambdaHack";
11− version = "0.4.100.0";
12− sha256 = "15v3aagwsh180603an3wd7rfgbjzgamdw270ciw2m03v8pkg9d28";
13− isLibrary = true;
14− isExecutable = true;
15− buildDepends = [
16− assertFailure async binary dataDefault deepseq enummapsetTh
17− filepath gtk hashable hsini keys miniutter mtl prettyShow random
18− stm text transformers unorderedContainers vector
19− vectorBinaryInstances zlib
20− ];
21− testDepends = [
22− assertFailure async binary dataDefault deepseq enummapsetTh
23− filepath hashable hsini keys miniutter mtl prettyShow random stm
24− text transformers unorderedContainers vector vectorBinaryInstances
25− zlib
26− ];
27− pkgconfigDepends = [ gtk ];
28− meta = {
29− homepage = "http://github.com/LambdaHack/LambdaHack";
30− description = "A game engine library for roguelike dungeon crawlers";
31− license = self.stdenv.lib.licenses.bsd3;
32− platforms = self.ghc.meta.platforms;
33− maintainers = with self.stdenv.lib.maintainers; [ andres ];
34− };
35−})
pkgs/games/uqm/3dovideo.nixdeleted−63
@@ -1,63 +0,0 @@
1−{ stdenv, requireFile, writeText, fetchurl, haskellPackages }:
2−
3−with stdenv.lib;
4−
5−let
6− makeSpin = num: let
7− padded = (optionalString (lessThan num 10) "0") + toString num;
8− in "slides.spins.${padded} = 3DOVID:" +
9− "addons/3dovideo/spins/ship${padded}.duk:" +
10− "addons/3dovideo/spins/spin.aif:" +
11− "addons/3dovideo/spins/ship${padded}.aif:89";
12−
13− videoRMP = writeText "3dovideo.rmp" (''
14− slides.ending = 3DOVID:addons/3dovideo/ending/victory.duk
15− slides.intro = 3DOVID:addons/3dovideo/intro/intro.duk
16− '' + concatMapStrings makeSpin (range 0 24));
17−
18− helper = with haskellPackages; cabal.mkDerivation (self: {
19− pname = "uqm3donix";
20− version = "0.1.0.0";
21−
22− src = fetchurl {
23− url = "https://github.com/aszlig/uqm3donix/archive/v0.1.0.0.tar.gz";
24− sha256 = "0d40gpc3bqkw68varjxwgbdzxw0dvwqksijmvij5ixmlcspbjgvb";
25− };
26−
27− isLibrary = false;
28− isExecutable = true;
29−
30− buildDepends = [ binary filepath tar ];
31−
32− meta = {
33− description = "Extract video files from a Star Control II 3DO image";
34− license = self.stdenv.lib.licenses.bsd3;
35− platforms = self.ghc.meta.platforms;
36− };
37− });
38−
39−in stdenv.mkDerivation {
40− name = "uqm-3dovideo";
41−
42− src = requireFile rec {
43− name = "videos.tar";
44− sha256 = "044h0cl69r0kc43vk4n0akk0prwzb7inq324h5yfqb38sd4zkds1";
45− message = ''
46− In order to get the intro and ending sequences from the 3DO version, you
47− need to have the original 3DO Star Control II CD. Create an image from the
48− CD and use uqm3donix* to extract a tarball with the videos from it. The
49− reason for this is because the 3DO uses its own proprietary disk format.
50−
51− Save the file as videos.tar and use "nix-prefetch-url file://${name}" to
52− add it to the Nix store.
53−
54− [*] ${helper}/bin/uqm3donix CDIMAGE ${name}
55− '';
56− };
57−
58− buildCommand = ''
59− mkdir -vp "$out"
60− tar xf "$src" -C "$out" --strip-components=3
61− cp "${videoRMP}" "$out/3dovideo.rmp"
62− '';
63−}
pkgs/games/uqm/default.nixdeleted−108
@@ -1,108 +0,0 @@
1−{ stdenv, fetchurl
2−, pkgconfig, mesa
3−, SDL, SDL_image, libpng, zlib, libvorbis, libogg, libmikmod, unzip
4−
5−, use3DOVideos ? false, requireFile ? null, writeText ? null
6−, haskellPackages ? null
7−
8−, useRemixPacks ? false
9−}:
10−
11−assert use3DOVideos -> requireFile != null && writeText != null
12− && haskellPackages != null;
13−
14−with stdenv.lib;
15−
16−let
17− videos = import ./3dovideo.nix {
18− inherit stdenv requireFile writeText fetchurl haskellPackages;
19− };
20−
21− remixPacks = imap (num: sha256: fetchurl rec {
22− name = "uqm-remix-disc${toString num}.uqm";
23− url = "mirror://sourceforge/sc2/${name}";
24− inherit sha256;
25− }) [
26− "1s470i6hm53l214f2rkrbp111q4jyvnxbzdziqg32ffr8m3nk5xn"
27− "1pmsq65k8gk4jcbyk3qjgi9yqlm0dlaimc2r8hz2fc9f2124gfvz"
28− "07g966ylvw9k5q9jdzqdczp7c5qv4s91xjlg4z5z27fgcs7rzn76"
29− "1l46k9aqlcp7d3fjkjb3n05cjfkxx8rjlypgqy0jmdx529vikj54"
30− ];
31−
32−in stdenv.mkDerivation rec {
33− name = "uqm-${version}";
34− version = "0.7.0";
35−
36− src = fetchurl {
37− url = "mirror://sourceforge/sc2/uqm-${version}-source.tgz";
38− sha256 = "08dj7fsvflxx69an6vpf3wx050mk0ycmdv401yffrrqbgxgmqsd3";
39− };
40−
41− content = fetchurl {
42− url = "mirror://sourceforge/sc2/uqm-${version}-content.uqm";
43− sha256 = "1gx39ns698hyczd4nx73mr0z86bbi4q3h8sw3pxjh1lzla5xpxmq";
44− };
45−
46− voice = fetchurl {
47− url = "mirror://sourceforge/sc2/uqm-${version}-voice.uqm";
48− sha256 = "0yf9ff5sxk229202gsa7ski6wn7a8hkjjyr1yr7mjdxsnh0zik5w";
49− };
50−
51− music = fetchurl {
52− url = "mirror://sourceforge/sc2/uqm-${version}-3domusic.uqm";
53− sha256 = "10nbvcrr0lc0mxivxfkcbxnibwk3vwmamabrlvwdsjxd9pk8aw65";
54− };
55−
56−
57− /* uses pthread_cancel(), which requires libgcc_s.so.1 to be
58− loadable at run-time. Adding the flag below ensures that the
59− library can be found. Obviously, though, this is a hack. */
60− NIX_LDFLAGS="-lgcc_s";
61−
62− buildInputs = [SDL SDL_image libpng libvorbis libogg libmikmod unzip pkgconfig mesa];
63−
64− postUnpack = ''
65− mkdir -p uqm-${version}/content/packages
66− mkdir -p uqm-${version}/content/addons
67− ln -s "$content" "uqm-${version}/content/packages/uqm-0.7.0-content.uqm"
68− ln -s "$music" "uqm-${version}/content/addons/uqm-0.7.0-3domusic.uqm"
69− ln -s "$voice" "uqm-${version}/content/addons/uqm-0.7.0-voice.uqm"
70− '' + optionalString useRemixPacks (concatMapStrings (disc: ''
71− ln -s "${disc}" "uqm-$version/content/addons/${disc.name}"
72− '') remixPacks) + optionalString use3DOVideos ''
73− ln -s "${videos}" "uqm-${version}/content/addons/3dovideo"
74− '';
75−
76− /* uqm has a 'unique' build system with a root script incidentally called
77− * 'build.sh'. */
78−
79− configurePhase = ''
80− echo "INPUT_install_prefix_VALUE='$out'" >> config.state
81− echo "INPUT_install_bindir_VALUE='$out/bin'" >> config.state
82− echo "INPUT_install_libdir_VALUE='$out/lib'" >> config.state
83− echo "INPUT_install_sharedir_VALUE='$out/share'" >> config.state
84− PREFIX=$out ./build.sh uqm config
85− '';
86−
87− buildPhase = ''
88− ./build.sh uqm
89− '';
90−
91− installPhase = ''
92− ./build.sh uqm install
93− sed -i $out/bin/uqm -e "s%/usr/local/games/%$out%g"
94− '';
95−
96− meta = {
97− description = "Remake of Star Control II";
98− longDescription = ''
99− The goals for the The Ur-Quan Masters project are:
100− - to bring Star Control II to modern platforms, thereby making a lot of people happy
101− - to make game translations easy, thereby making even more people happy
102− - to adapt the code so that people can more easily make their own spin-offs, thereby making zillions more people happy!
103− '';
104− homepage = http://sc2.sourceforge.net/;
105− license = stdenv.lib.licenses.gpl2;
106− maintainers = with maintainers; [ jcumming aszlig ];
107− };
108−}
pkgs/tools/misc/escoger/default.nixdeleted−33
@@ -1,33 +0,0 @@
1−{ cabal, dataDefault, fetchFromGitHub, HUnit, mtl, parallel
2−, QuickCheck, testFramework, testFrameworkHunit
3−, testFrameworkQuickcheck2, vector, vectorAlgorithms, vty
4−}:
5−
6−let
7− rv = "b6b11c51846a9283ef4ee7c839b99ded9f6c3bc8";
8−in
9−cabal.mkDerivation (self: {
10− pname = "escoger";
11− version = "0.1.0.0-${rv}";
12− src = fetchFromGitHub {
13− owner = "tstat";
14− repo = "escoger";
15− rev = rv;
16− sha256 = "0n6mvg5cm50ym20bz74b7q1afkljp0fc9pxhqk0ai82a71xxbxy3";
17− };
18− isLibrary = false;
19− isExecutable = true;
20− buildDepends = [
21− dataDefault mtl parallel vector vectorAlgorithms vty
22− ];
23− testDepends = [
24− dataDefault HUnit mtl parallel QuickCheck testFramework
25− testFrameworkHunit testFrameworkQuickcheck2 vector vectorAlgorithms
26− vty
27− ];
28− meta = {
29− description = "A multithreaded terminal fuzzy selector";
30− license = self.stdenv.lib.licenses.mit;
31− platforms = self.ghc.meta.platforms;
32− };
33−})
pkgs/tools/package-management/cabal-install/1.16.0.2.nixdeleted−29
@@ -1,29 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, Cabal, filepath, HTTP, mtl, network, random, time, zlib }:
4−
5−cabal.mkDerivation (self: {
6− pname = "cabal-install";
7− version = "1.16.0.2";
8− sha256 = "162nbkkffpbalg368m5s49jrvg9nibdwlwj0j1b8wriyyg4srpv6";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [
12− Cabal filepath HTTP mtl network random time zlib
13− ];
14− postInstall = ''
15− mkdir $out/etc
16− mv bash-completion $out/etc/bash_completion.d
17− '';
18− patchPhase = ''
19− sed -i -e 's|random .*1.1,|random,|' cabal-install.cabal
20− '';
21− meta = {
22− homepage = "http://www.haskell.org/cabal/";
23− description = "The command-line interface for Cabal and Hackage";
24− license = self.stdenv.lib.licenses.bsd3;
25− platforms = self.ghc.meta.platforms;
26− hydraPlatforms = self.stdenv.lib.platforms.none;
27− maintainers = [ self.stdenv.lib.maintainers.andres ];
28− };
29−})
pkgs/tools/package-management/cabal-install/1.18.0.3.nixdeleted−36
@@ -1,36 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, Cabal, filepath, HTTP, HUnit, mtl, network, QuickCheck
4−, random, stm, testFramework, testFrameworkHunit
5−, testFrameworkQuickcheck2, time, zlib
6−}:
7−
8−cabal.mkDerivation (self: {
9− pname = "cabal-install";
10− version = "1.18.0.3";
11− sha256 = "0h01mz6p4fwl8h6k2ybrlp598f0j3n2zasrr63fy0vjbjibmgf41";
12− isLibrary = false;
13− isExecutable = true;
14− buildDepends = [
15− Cabal filepath HTTP mtl network random stm time zlib
16− ];
17− testDepends = [
18− Cabal filepath HTTP HUnit mtl network QuickCheck stm testFramework
19− testFrameworkHunit testFrameworkQuickcheck2 time zlib
20− ];
21− postInstall = ''
22− mkdir $out/etc
23− mv bash-completion $out/etc/bash_completion.d
24− '';
25− patchPhase = ''
26− sed -i -e 's|random .*1.1,|random,|' cabal-install.cabal
27− '';
28− meta = {
29− homepage = "http://www.haskell.org/cabal/";
30− description = "The command-line interface for Cabal and Hackage";
31− license = self.stdenv.lib.licenses.bsd3;
32− platforms = self.ghc.meta.platforms;
33− hydraPlatforms = self.stdenv.lib.platforms.none;
34− maintainers = [ self.stdenv.lib.maintainers.andres ];
35− };
36−})
pkgs/tools/package-management/cabal-install/1.20.0.6.nixdeleted−32
@@ -1,32 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, Cabal, filepath, HTTP, HUnit, mtl, network, networkUri
4−, QuickCheck, random, stm, testFramework, testFrameworkHunit
5−, testFrameworkQuickcheck2, time, zlib
6−}:
7−
8−cabal.mkDerivation (self: {
9− pname = "cabal-install";
10− version = "1.20.0.6";
11− sha256 = "1hc187yzl59518cswk25xzsabn9dvm4wqpq817hmclrvkf4zr3pl";
12− isLibrary = false;
13− isExecutable = true;
14− buildDepends = [
15− Cabal filepath HTTP mtl network networkUri random stm time zlib
16− ];
17− testDepends = [
18− Cabal filepath HTTP HUnit mtl network networkUri QuickCheck stm
19− testFramework testFrameworkHunit testFrameworkQuickcheck2 time zlib
20− ];
21− doCheck = false;
22− postInstall = ''
23− mkdir $out/etc
24− mv bash-completion $out/etc/bash_completion.d
25− '';
26− meta = {
27− homepage = "http://www.haskell.org/cabal/";
28− description = "The command-line interface for Cabal and Hackage";
29− license = self.stdenv.lib.licenses.bsd3;
30− platforms = self.ghc.meta.platforms;
31− };
32−})
pkgs/tools/package-management/cabal-install/1.22.0.0.nixdeleted−34
@@ -1,34 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, Cabal, extensibleExceptions, filepath, HTTP, HUnit, mtl
4−, network, networkUri, QuickCheck, random, regexPosix, stm
5−, testFramework, testFrameworkHunit, testFrameworkQuickcheck2, time
6−, zlib
7−}:
8−
9−cabal.mkDerivation (self: {
10− pname = "cabal-install";
11− version = "1.22.0.0";
12− sha256 = "17cf2bkrxawjldhkq4hzlzlf7b2xqgkrzl7fa31whnnpni68v6jz";
13− isLibrary = false;
14− isExecutable = true;
15− buildDepends = [
16− Cabal filepath HTTP mtl network networkUri random stm time zlib
17− ];
18− testDepends = [
19− Cabal extensibleExceptions filepath HTTP HUnit mtl network
20− networkUri QuickCheck regexPosix stm testFramework
21− testFrameworkHunit testFrameworkQuickcheck2 time zlib
22− ];
23− doCheck = false;
24− postInstall = ''
25− mkdir $out/etc
26− mv bash-completion $out/etc/bash_completion.d
27− '';
28− meta = {
29− homepage = "http://www.haskell.org/cabal/";
30− description = "The command-line interface for Cabal and Hackage";
31− license = self.stdenv.lib.licenses.bsd3;
32− platforms = self.ghc.meta.platforms;
33− };
34−})
pkgs/tools/system/journal-mailer/default.nixdeleted−34
@@ -1,34 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, baseCompat, fetchgit, hspec, hspecExpectations
4−, libsystemdJournal, mimeMail, mtl, pipes, pipesBytestring
5−, pipesSafe, QuickCheck, silently, stringConversions, temporary
6−, text, time, unorderedContainers, yaml
7−}:
8−
9−cabal.mkDerivation (self: {
10− pname = "journal-mailer";
11− version = "0.1.1.0";
12− src = fetchgit {
13− url = "https://github.com/zalora/journal-mailer.git";
14− sha256 = "cd28b39746fd8a9652eb5d4dc5dcfd66704826d1ee466572fb47925b054cd07b";
15− rev = "ab1b4df09e7ddbe139959374437331cdddf754b2";
16− };
17− isLibrary = false;
18− isExecutable = true;
19− buildDepends = [
20− baseCompat libsystemdJournal mimeMail pipes pipesBytestring
21− pipesSafe stringConversions text time unorderedContainers yaml
22− ];
23− testDepends = [
24− baseCompat hspec hspecExpectations libsystemdJournal mimeMail mtl
25− pipes pipesBytestring pipesSafe QuickCheck silently
26− stringConversions temporary text time unorderedContainers yaml
27− ];
28− meta = {
29− description = "Sends out emails for every severe message logged to systemd's journal";
30− license = self.stdenv.lib.licenses.bsd3;
31− platforms = self.ghc.meta.platforms;
32− maintainers = [ self.stdenv.lib.maintainers.tv ];
33− };
34−})
pkgs/tools/system/sizes/default.nixdeleted−23
@@ -1,23 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, cmdargs, deepseq, dlist, lens, parallelIo, regexPosix
4−, systemFileio, systemFilepath, text
5−}:
6−
7−cabal.mkDerivation (self: {
8− pname = "sizes";
9− version = "2.3.2";
10− sha256 = "0xns0xl3khks1jvsmxh0nqf1saxs7qscvkbcg4270pp7n6lziqdg";
11− isLibrary = false;
12− isExecutable = true;
13− buildDepends = [
14− cmdargs deepseq dlist lens parallelIo regexPosix systemFileio
15− systemFilepath text
16− ];
17− meta = {
18− homepage = "https://github.com/jwiegley/sizes";
19− description = "Recursively show space (size and i-nodes) used in subdirectories";
20− license = self.stdenv.lib.licenses.bsd3;
21− platforms = self.ghc.meta.platforms;
22− };
23−})
pkgs/tools/typesetting/lhs2tex/default.nixdeleted−26
@@ -1,26 +0,0 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
3−{ cabal, filepath, mtl, regexCompat, texLive }:
4−
5−cabal.mkDerivation (self: {
6− pname = "lhs2tex";
7− version = "1.18.1";
8− sha256 = "0j4n7vkabsggn94gbwixy1vmckdck2nggdiqvk6n9nx164if5jnw";
9− isLibrary = false;
10− isExecutable = true;
11− buildDepends = [ filepath mtl regexCompat ];
12− extraLibraries = [ texLive ];
13− postInstall = ''
14− mkdir -p "$out/share/doc/$name"
15− cp doc/Guide2.pdf $out/share/doc/$name
16− mkdir -p "$out/nix-support"
17− '';
18− meta = {
19− homepage = "http://www.andres-loeh.de/lhs2tex/";
20− description = "Preprocessor for typesetting Haskell sources with LaTeX";
21− license = self.stdenv.lib.licenses.gpl2;
22− platforms = self.ghc.meta.platforms;
23− hydraPlatforms = self.stdenv.lib.platforms.linux;
24− maintainers = [ self.stdenv.lib.maintainers.andres ];
25− };
26−})
pkgs/top-level/all-packages.nix+1−3
@@ -4866,7 +4866,7 @@ let
48664866 jdtsdk = callPackage ../development/eclipse/jdt-sdk { };
48674867
48684868 jruby165 = callPackage ../development/interpreters/jruby { };
4869−
4869+
48704870 jython = callPackage ../development/interpreters/jython {};
48714871
48724872 guileCairo = callPackage ../development/guile-modules/guile-cairo { };
@@ -13112,8 +13112,6 @@ let
1311213112
1311313113 unvanquished = callPackage ../games/unvanquished { };
1311413114
13115− uqm = callPackage ../games/uqm { };
13116−
1311713115 urbanterror = callPackage ../games/urbanterror { };
1311813116
1311913117 ue4demos = recurseIntoAttrs (callPackage ../games/ue4demos { });