summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihaly Barasz <klao@nilcons.com>2014-02-17 23:04:13 +0100
committerMihaly Barasz <klao@nilcons.com>2014-02-17 23:06:26 +0100
commit668e81ad5a1824f80348904761662d41aefeaf4c (patch)
tree3f6708d15edd69a4b9ff14642f7e53c7eb6f7cf8
parent493adc9227e5e2649e71756679b2527c144a8441 (diff)
Add nc-indicators-0.1 Haskell package
-rw-r--r--pkgs/applications/misc/nc-indicators/default.nix16
-rw-r--r--pkgs/top-level/haskell-packages.nix2
2 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/applications/misc/nc-indicators/default.nix b/pkgs/applications/misc/nc-indicators/default.nix
new file mode 100644
index 000000000000..dec605daf58c
--- /dev/null
+++ b/pkgs/applications/misc/nc-indicators/default.nix
@@ -0,0 +1,16 @@
+{ cabal, attoparsec, gtk, hflags, lens, pipes, stm }:
+
+cabal.mkDerivation (self: {
+ pname = "nc-indicators";
+ version = "0.1";
+ sha256 = "19amwfcbwfxcj0gr7w0vgxl427l43q3l2s3n3zsxhqwkfblxmfy5";
+ isLibrary = false;
+ isExecutable = true;
+ buildDepends = [ attoparsec gtk hflags lens pipes stm ];
+ meta = {
+ homepage = "https://github.com/nilcons/nc-indicators";
+ description = "CPU load and memory usage indicators for i3bar";
+ license = self.stdenv.lib.licenses.asl20;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index c95fbfb0ad0e..dd996a0d5760 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -2793,6 +2793,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
QuickCheck = self.QuickCheck2;
};
+ nc-indicators = callPackage ../applications/misc/nc-indicators {};
+
taffybar = callPackage ../applications/misc/taffybar {};
yi = callPackage ../applications/editors/yi/yi.nix {};