summaryrefslogtreecommitdiffstats
path: root/Zpkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-16 18:31:34 +0200
committertv <tv@krebsco.de>2015-07-16 22:48:26 +0200
commit95ef1626bb349c9193ec9d3236f102d075e4e4e2 (patch)
tree2065f8fe2fb4149ac0f28513ec8c893c9ea02168 /Zpkgs
parent2480130100c485a823842c99b608a886606d2ae7 (diff)
Zpkgs tv: add much
Diffstat (limited to 'Zpkgs')
-rw-r--r--Zpkgs/tv/default.nix6
-rw-r--r--Zpkgs/tv/much.nix64
2 files changed, 70 insertions, 0 deletions
diff --git a/Zpkgs/tv/default.nix b/Zpkgs/tv/default.nix
new file mode 100644
index 0000000..d79542d
--- /dev/null
+++ b/Zpkgs/tv/default.nix
@@ -0,0 +1,6 @@
+{ pkgs, ... }:
+
+pkgs //
+{
+ much = pkgs.callPackage ./much.nix {};
+}
diff --git a/Zpkgs/tv/much.nix b/Zpkgs/tv/much.nix
new file mode 100644
index 0000000..82586b4
--- /dev/null
+++ b/Zpkgs/tv/much.nix
@@ -0,0 +1,64 @@
+{ pkgs, ... }:
+
+let
+ hspkgs = pkgs.haskellngPackages.override {
+ overrides = self: super: {
+ email-header = self.callPackage (
+{ mkDerivation, attoparsec, base, base64-bytestring, bytestring
+, case-insensitive, containers, exceptions, fetchgit, QuickCheck
+, stdenv, tasty, tasty-quickcheck, text, text-icu, time
+}:
+mkDerivation {
+ pname = "email-header";
+ version = "0.3.0";
+ src = fetchgit {
+ url = "https://github.com/4z3/email-header";
+ sha256 = "f33fba567a39b1f2448869b269c26c40d8007599c23ab83bde5b4dfd9fd76ebc";
+ rev = "7b179bd31192ead8afe7a0b6e34bcad4039deaa8";
+ };
+ buildDepends = [
+ attoparsec base base64-bytestring bytestring case-insensitive
+ containers exceptions text text-icu time
+ ];
+ testDepends = [
+ base bytestring case-insensitive containers QuickCheck tasty
+ tasty-quickcheck text time
+ ];
+ jailbreak = true;
+ homepage = "http://github.com/knrafto/email-header";
+ description = "Parsing and rendering of email and MIME headers";
+ license = stdenv.lib.licenses.bsd3;
+}
+) {};
+ };
+ };
+in
+
+hspkgs.callPackage (
+{ mkDerivation, aeson, attoparsec, base, base64-bytestring
+, blaze-builder, bytestring, case-insensitive, containers, deepseq
+, directory, docopt, email-header, fetchgit, filepath
+, friendly-time, hyphenation, linebreak, old-locale, process
+, random, rosezipper, safe, split, stdenv, terminal-size, text
+, time, transformers, transformers-compat, unix, vector
+}:
+mkDerivation {
+ pname = "much";
+ version = "0.0.0.0";
+ src = fetchgit {
+ url = "http://cgit.nomic/much";
+ sha256 = "f0bcc34456cb876d3439694d1e16db414a540e13f476fa3ff1ad70d1d3caccb2";
+ rev = "bfd854e05207a073eaa983c49f27c37555ccfce5";
+ };
+ isLibrary = false;
+ isExecutable = true;
+ buildDepends = [
+ aeson attoparsec base base64-bytestring blaze-builder bytestring
+ case-insensitive containers deepseq directory docopt email-header
+ filepath friendly-time hyphenation linebreak old-locale process
+ random rosezipper safe split terminal-size text time transformers
+ transformers-compat unix vector
+ ];
+ license = stdenv.lib.licenses.mit;
+}
+) {}