summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-12-30 09:47:57 +0100
committerlassulus <lassulus@lassul.us>2020-12-30 09:47:57 +0100
commitb96b4fce078dc90ee59ae5a75cf0c13cbc278fb0 (patch)
tree49bdd3d8cfef5763b10cff7605653e0b575a8acb /krebs/5pkgs
parenta180af5b08160f50300769062c120edab3372d81 (diff)
puyak.r: use brockman for news
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/default.nix1
-rw-r--r--krebs/5pkgs/haskell/brockman.nix23
2 files changed, 24 insertions, 0 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix
index ab25934c8..d18c3e4c8 100644
--- a/krebs/5pkgs/default.nix
+++ b/krebs/5pkgs/default.nix
@@ -13,6 +13,7 @@ foldl' mergeAttrs {}
//
{
+ brockman = self.haskellPackages.brockman;
reaktor2 = self.haskellPackages.reaktor2;
ReaktorPlugins = self.callPackage ./simple/Reaktor/plugins.nix {};
diff --git a/krebs/5pkgs/haskell/brockman.nix b/krebs/5pkgs/haskell/brockman.nix
new file mode 100644
index 000000000..ed5dce03b
--- /dev/null
+++ b/krebs/5pkgs/haskell/brockman.nix
@@ -0,0 +1,23 @@
+{ mkDerivation, aeson, async, base, bloomfilter, bytestring
+, conduit, containers, feed, hslogger, irc-conduit, microlens
+, network, optparse-applicative, stdenv, stm, text, wreq
+, fetchFromGitHub
+}:
+mkDerivation rec {
+ pname = "brockman";
+ version = "1.4.2";
+ src = fetchFromGitHub {
+ owner = "kmein";
+ repo = "brockman";
+ rev = version;
+ sha256 = "0y6ki8kj176knajjfnklrrwwqra23lpz10x5c603rgsjwxgwrxzk";
+ };
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ aeson async base bloomfilter bytestring conduit containers feed
+ hslogger irc-conduit microlens network optparse-applicative stm
+ text wreq
+ ];
+ license = stdenv.lib.licenses.mit;
+}