Merge pull request #622 from errge/hit

Add hit and (it's dependency,) bytedump
This commit is contained in:
Peter Simons
2013-06-15 03:37:12 -07:00
3 changed files with 46 additions and 0 deletions

View 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;
};
})

View 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;
};
})