diff options
Diffstat (limited to 'custom/beuteltier.nix')
-rw-r--r-- | custom/beuteltier.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/custom/beuteltier.nix b/custom/beuteltier.nix new file mode 100644 index 00000000..0df82948 --- /dev/null +++ b/custom/beuteltier.nix | |||
@@ -0,0 +1,30 @@ | |||
1 | # This file was auto-generated by cabal2nix. Please do NOT edit manually! | ||
2 | |||
3 | { cabal, aeson, dataDefault, filepath, lenses, mtl, tar, text | ||
4 | , transformers, yaml, zlib, cryptohash, time, base16Bytestring | ||
5 | , attoparsecExpr, caseInsensitive, timeparsers | ||
6 | , fetchgit | ||
7 | }: | ||
8 | |||
9 | cabal.mkDerivation (self: { | ||
10 | pname = "beuteltier"; | ||
11 | version = "5.1.3"; | ||
12 | #src = ./.; | ||
13 | src = fetchgit { | ||
14 | url = git://git.yggdrasil.li/beuteltier; | ||
15 | # nix-shell -p nix-prefetch-scripts --command 'nix-prefetch-git git://git.yggdrasil.li/beuteltier' 2>&1 | grep -E '(git revision|hash) is ' | sed -r 's/git revision is /rev = "/' | sed -r 's/hash is /sha256 = "/' | sed -r 's/$/";/' | ||
16 | rev = "8c7be69fa083176f7566cce7c6e2993b7a47b6aa"; | ||
17 | sha256 = "964d33d7e8a170f1a9aa9e48caceb633ce4f748ea747d73069641775b6988d7a"; | ||
18 | }; | ||
19 | buildDepends = [ | ||
20 | aeson dataDefault filepath lenses mtl tar text transformers yaml | ||
21 | zlib cryptohash time base16Bytestring attoparsecExpr caseInsensitive | ||
22 | timeparsers | ||
23 | ]; | ||
24 | meta = { | ||
25 | homepage = "git://git.yggdrasil.li/beuteltier"; | ||
26 | description = "Accessor library for \"Beutel\" (Bag) - a backstore (directory) containing tracked objects (.tgz files with a yaml manifest inside)"; | ||
27 | license = self.stdenv.lib.licenses.publicDomain; | ||
28 | platforms = self.ghc.meta.platforms; | ||
29 | }; | ||
30 | }) | ||