From 9f33438f3aebd21b9ae5d4775b2e90776e7250f7 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Fri, 24 Apr 2015 14:52:12 +0530 Subject: [PATCH] nix-shell configuration file --- shell.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 shell.nix 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; + }; +}) -- 2.45.2