Merge pull request #2275 from jwiegley/haskell-utils
Three new Haskell tools: rehoo, una, cabal-meta
This commit is contained in:
commit
253f83ea2d
18
pkgs/development/tools/haskell/cabal-meta/default.nix
Normal file
18
pkgs/development/tools/haskell/cabal-meta/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ cabal, hspec, shelly, systemFileio, systemFilepath, text }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "cabal-meta";
|
||||
version = "0.4.1.2";
|
||||
sha256 = "17ln9j0n9rb0kbnp37fi9yaf932dacrdmf3jrp301r886kh2a7kk";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
doCheck = false;
|
||||
buildDepends = [ shelly systemFileio systemFilepath text ];
|
||||
testDepends = [ hspec shelly systemFilepath text ];
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com/";
|
||||
description = "build multiple packages at once";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
19
pkgs/development/tools/haskell/rehoo/default.nix
Normal file
19
pkgs/development/tools/haskell/rehoo/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ cabal, cmdargs, parallelIo, shelly, split, systemFilepath, text
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "rehoo";
|
||||
version = "0.3.1";
|
||||
sha256 = "0pwmz1q2866yj8hxbvha4v1smhppkd3jsrrhbhmbxw137l54ijgf";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
cmdargs parallelIo shelly split systemFilepath text
|
||||
];
|
||||
meta = {
|
||||
homepage = "https://github.com/jwiegley/rehoo";
|
||||
description = "Rebuild default.hoo from many .hoo files in the current directory";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
16
pkgs/development/tools/haskell/una/default.nix
Normal file
16
pkgs/development/tools/haskell/una/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ cabal, cmdargs, filepath, ioStorage }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "una";
|
||||
version = "2.1.0";
|
||||
sha256 = "0gpycwd0dgnw7cdicpn19wv1xb4jq3j9dfzry2ilv85h02zkwfvh";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [ cmdargs filepath ioStorage ];
|
||||
meta = {
|
||||
homepage = "https://github.com/jwiegley/una";
|
||||
description = "Universal un-archiver utility";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -3004,6 +3004,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
|
||||
cabalDev = callPackage ../development/tools/haskell/cabal-dev {};
|
||||
|
||||
cabalMeta = callPackage ../development/tools/haskell/cabal-meta {};
|
||||
|
||||
cabal2Ghci = callPackage ../development/tools/haskell/cabal2ghci {};
|
||||
|
||||
cabalGhci = callPackage ../development/tools/haskell/cabal-ghci {};
|
||||
@ -3033,12 +3035,16 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
|
||||
packunused = callPackage ../development/tools/haskell/packunused {};
|
||||
|
||||
rehoo = callPackage ../development/tools/haskell/rehoo {};
|
||||
|
||||
sizes = callPackage ../tools/system/sizes {};
|
||||
|
||||
splot = callPackage ../development/tools/haskell/splot {};
|
||||
|
||||
timeplot = callPackage ../development/tools/haskell/timeplot {};
|
||||
|
||||
una = callPackage ../development/tools/haskell/una {};
|
||||
|
||||
# Games.
|
||||
|
||||
LambdaHack = callPackage ../games/LambdaHack {
|
||||
|
Loading…
Reference in New Issue
Block a user