From: Ramakrishnan Muthukrishnan Date: Fri, 24 Apr 2015 09:22:12 +0000 (+0530) Subject: nix-shell configuration file X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/simplejson/rgr-080307.php?a=commitdiff_plain;h=9f33438f3aebd21b9ae5d4775b2e90776e7250f7;p=functorrent.git nix-shell configuration file --- diff --git a/shell.nix b/shell.nix new file mode 100644 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 {}).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; + }; +})