Merge pull request #622 from errge/hit
Add hit and (it's dependency,) bytedump
This commit is contained in:
15
pkgs/development/libraries/haskell/bytedump/default.nix
Normal file
15
pkgs/development/libraries/haskell/bytedump/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ cabal }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "bytedump";
|
||||
version = "1.0";
|
||||
sha256 = "1pf01mna3isx3i7m50yz3pw5ygz5sg8i8pshjb3yw8q41w2ba5xf";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
meta = {
|
||||
homepage = "http://github.com/vincenthz/hs-bytedump";
|
||||
description = "Flexible byte dump helpers for human readers";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
||||
27
pkgs/development/libraries/haskell/hit/default.nix
Normal file
27
pkgs/development/libraries/haskell/hit/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ cabal, attoparsec, blazeBuilder, bytedump, cryptohash, HUnit, mtl
|
||||
, parsec, QuickCheck, random, systemFileio, systemFilepath
|
||||
, testFramework, testFrameworkQuickcheck2, time, vector, zlib
|
||||
, zlibBindings
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "hit";
|
||||
version = "0.5.0";
|
||||
sha256 = "05v49l3k8gwn922d5b5xrzdrakh6bw02bp8hd8yc8163jyazk2vx";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
attoparsec blazeBuilder cryptohash mtl parsec random systemFileio
|
||||
systemFilepath time vector zlib zlibBindings
|
||||
];
|
||||
testDepends = [
|
||||
bytedump HUnit QuickCheck testFramework testFrameworkQuickcheck2
|
||||
time
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/vincenthz/hit";
|
||||
description = "Git operations in haskell";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user