]> git.rkrishnan.org Git - functorrent.git/commitdiff
nix-shell configuration file
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Fri, 24 Apr 2015 09:22:12 +0000 (14:52 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Fri, 24 Apr 2015 09:22:12 +0000 (14:52 +0530)
shell.nix [new file with mode: 0644]

diff --git a/shell.nix b/shell.nix
new file mode 100644 (file)
index 0000000..cf892c6
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,22 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ haskellPackages ? (import <nixpkgs> {}).haskellPackages }:
+
+with haskellPackages; cabal.mkDerivation (self: {
+  pname = "functorrent";
+  version = "0.1.0.0";
+  src = "./.";
+  isLibrary = true;
+  isExecutable = true;
+  buildTools = [ cabalInstall ];
+  buildDepends = [
+    base16Bytestring binary cryptohash HTTP networkUri parsec tasty
+    tastyHunit
+  ];
+  testDepends = [ doctest hlint tasty tastyHunit ];
+  meta = {
+    description = "A Bit-torrent client";
+    license = self.stdenv.lib.licenses.gpl3;
+    platforms = self.ghc.meta.platforms;
+  };
+})