summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/robots-txt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/robots-txt/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/robots-txt/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/robots-txt/default.nix b/pkgs/development/libraries/haskell/robots-txt/default.nix
new file mode 100644
index 000000000000..a325c9e86647
--- /dev/null
+++ b/pkgs/development/libraries/haskell/robots-txt/default.nix
@@ -0,0 +1,15 @@
+{ cabal, attoparsec, heredoc, hspec, QuickCheck, transformers }:
+
+cabal.mkDerivation (self: {
+  pname = "robots-txt";
+  version = "0.4.0.0";
+  sha256 = "1z0bn4v6fx0nx1hr4bbxi5k2c8bv6x3d4pywpav67m5pswxb2yp7";
+  buildDepends = [ attoparsec ];
+  testDepends = [ attoparsec heredoc hspec QuickCheck transformers ];
+  meta = {
+    homepage = "http://github.com/meanpath/robots";
+    description = "Parser for robots.txt";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+  };
+})