nixpkgs/pkgs/applications/misc/mathblog/default.nix
Peter Simons 23f9485c94 haskell-mathblog: added version 0.4
svn path=/nixpkgs/trunk/; revision=32511
2012-02-23 11:33:39 +00:00

28 lines
852 B
Nix

{ cabal, ConfigFile, filepath, HStringTemplate, HUnit, pandoc
, pandocTypes, SHA, testFramework, testFrameworkHunit, time
}:
cabal.mkDerivation (self: {
pname = "mathblog";
version = "0.4";
sha256 = "0kpawik74hp9k56b858idnlkla3iaalys8mas6c4gf4jfw2w0r3j";
isLibrary = false;
isExecutable = true;
buildDepends = [
ConfigFile filepath HStringTemplate HUnit pandoc pandocTypes SHA
testFramework testFrameworkHunit time
];
patches = [
./0006-Loosen-dependencies-on-SHA-HUnit-and-test-framework.patch
];
meta = {
description = "A program for creating and managing a static weblog with LaTeX math and function graphs";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})