summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorCray Elliott <MP2E@archlinux.us>2014-07-16 01:11:33 -0700
committerCray Elliott <MP2E@archlinux.us>2014-07-16 01:13:09 -0700
commit90392f6233986a369ae3ec5b7d31969c41961fd7 (patch)
tree2c75e806d383bdb16a3709a2eb6ef538f39a1b88 /pkgs
parent0e3f66d05177425fdaea571f65251bd7d7ca33b2 (diff)
downloadnixlib-90392f6233986a369ae3ec5b7d31969c41961fd7.tar
nixlib-90392f6233986a369ae3ec5b7d31969c41961fd7.tar.gz
nixlib-90392f6233986a369ae3ec5b7d31969c41961fd7.tar.bz2
nixlib-90392f6233986a369ae3ec5b7d31969c41961fd7.tar.lz
nixlib-90392f6233986a369ae3ec5b7d31969c41961fd7.tar.xz
nixlib-90392f6233986a369ae3ec5b7d31969c41961fd7.tar.zst
nixlib-90392f6233986a369ae3ec5b7d31969c41961fd7.zip
Import the haskell cabal template creator, "hi" from Hackage
note: depends on template
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/haskell/hi/default.nix25
-rw-r--r--pkgs/top-level/haskell-packages.nix2
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/hi/default.nix b/pkgs/development/libraries/haskell/hi/default.nix
new file mode 100644
index 000000000000..ba1614931095
--- /dev/null
+++ b/pkgs/development/libraries/haskell/hi/default.nix
@@ -0,0 +1,25 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, filepath, hspec, HUnit, parsec, split, template
+, temporaryRc, text, time
+}:
+
+cabal.mkDerivation (self: {
+  pname = "hi";
+  version = "0.0.8.1";
+  sha256 = "14g1yfc6cv89whx6w0di5nayifc0xfvll9h07kkqxaajyfw6s32y";
+  isLibrary = true;
+  isExecutable = true;
+  buildDepends = [
+    filepath parsec split template temporaryRc text time
+  ];
+  testDepends = [
+    filepath hspec HUnit parsec split template temporaryRc text time
+  ];
+  meta = {
+    homepage = "https://github.com/fujimura/hi";
+    description = "Generate scaffold for cabal project";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+  };
+})
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index 12ad52abba4c..17d6d55e7463 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -1118,6 +1118,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
 
   hinotify = callPackage ../development/libraries/haskell/hinotify {};
 
+  hi = callPackage ../development/libraries/haskell/hi {};
+
   hint = callPackage ../development/libraries/haskell/hint {};
 
   hit = callPackage ../development/libraries/haskell/hit {};