summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-07-16 12:03:07 +0200
committerPeter Simons <simons@cryp.to>2014-07-16 12:03:07 +0200
commit06e38776d42a1b7b8559a539d15a6d96ac102088 (patch)
tree190eb944bdcc52b2b1ff83a00af83e395e707480 /pkgs
parent09af8c8afd9f1d75e255e2dfb67fbc3f08332ef5 (diff)
parent90392f6233986a369ae3ec5b7d31969c41961fd7 (diff)
downloadnixlib-06e38776d42a1b7b8559a539d15a6d96ac102088.tar
nixlib-06e38776d42a1b7b8559a539d15a6d96ac102088.tar.gz
nixlib-06e38776d42a1b7b8559a539d15a6d96ac102088.tar.bz2
nixlib-06e38776d42a1b7b8559a539d15a6d96ac102088.tar.lz
nixlib-06e38776d42a1b7b8559a539d15a6d96ac102088.tar.xz
nixlib-06e38776d42a1b7b8559a539d15a6d96ac102088.tar.zst
nixlib-06e38776d42a1b7b8559a539d15a6d96ac102088.zip
Merge pull request #3298 from MP2E/hi_import
Import the cabal new project template creator, "hi"
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/haskell/hi/default.nix25
-rw-r--r--pkgs/development/libraries/haskell/template/default.nix15
-rw-r--r--pkgs/top-level/haskell-packages.nix4
3 files changed, 44 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/development/libraries/haskell/template/default.nix b/pkgs/development/libraries/haskell/template/default.nix
new file mode 100644
index 000000000000..f51ae4f0a3d1
--- /dev/null
+++ b/pkgs/development/libraries/haskell/template/default.nix
@@ -0,0 +1,15 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, mtl, text }:
+
+cabal.mkDerivation (self: {
+  pname = "template";
+  version = "0.2.0.9";
+  sha256 = "0i1xq6nj240gddbd8d5m42gzix16k81wqmirpy5a4fssnkpwjqnb";
+  buildDepends = [ mtl text ];
+  meta = {
+    description = "Simple string substitution";
+    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 c7b2cd6f1aa2..ffd8ee90afc7 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -1119,6 +1119,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 {};
@@ -2270,6 +2272,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
 
   tcacheAWS = callPackage ../development/libraries/haskell/tcache-AWS {};
 
+  template = callPackage ../development/libraries/haskell/template {};
+
   templateDefault = callPackage ../development/libraries/haskell/template-default {};
 
   temporary = callPackage ../development/libraries/haskell/temporary {};