Skip to content

Commit

Permalink
Add default.nix and lifted-base.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
basvandijk committed Dec 11, 2014
1 parent b34e509 commit 3b8d612
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
@@ -0,0 +1,2 @@
let pkgs = import <nixpkgs> {};
in pkgs.haskellPackages.callPackage ./lifted-base.nix {}
20 changes: 20 additions & 0 deletions lifted-base.nix
@@ -0,0 +1,20 @@
{ cabal, HUnit, monadControl, testFramework, testFrameworkHunit
, transformers, transformersBase
}:

cabal.mkDerivation (self: {
pname = "lifted-base";
version = "0.2.3.0";
src = ./.;
buildDepends = [ monadControl transformersBase ];
testDepends = [
HUnit monadControl testFramework testFrameworkHunit transformers
transformersBase
];
meta = {
homepage = "https://github.com/basvandijk/lifted-base";
description = "lifted IO operations from the base library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

0 comments on commit 3b8d612

Please sign in to comment.