Skip to content

Commit

Permalink
Added default.nix and scientific.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
basvandijk committed Dec 5, 2014
1 parent 529576b commit 7888925
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
let pkgs = import <nixpkgs> {};
in pkgs.haskellPackages.callPackage ./scientific.nix {}
20 changes: 20 additions & 0 deletions scientific.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{ cabal, deepseq, hashable, QuickCheck, smallcheck, tasty
, tastyAntXml, tastyHunit, tastyQuickcheck, tastySmallcheck, text
}:

cabal.mkDerivation (self: {
pname = "scientific";
version = "0.3.3.2";
src = ./.;
buildDepends = [ deepseq hashable text ];
testDepends = [
QuickCheck smallcheck tasty tastyAntXml tastyHunit tastyQuickcheck
tastySmallcheck text
];
meta = {
homepage = "https://github.com/basvandijk/scientific";
description = "Numbers represented using scientific notation";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

0 comments on commit 7888925

Please sign in to comment.