Add hablo package
This commit is contained in:
parent
a182a6fa0c
commit
4f6b2c8e78
1 changed files with 29 additions and 1 deletions
30
default.nix
30
default.nix
|
@ -1,6 +1,34 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
builtins.intersectAttrs {SJW = 1;} (pkgs.haskellPackages.override {
|
builtins.intersectAttrs {hablo = 1; SJW = 1;} (pkgs.haskellPackages.override {
|
||||||
overrides = self: super: {
|
overrides = self: super: {
|
||||||
|
hablo = self.callPackage (
|
||||||
|
{ mkDerivation, aeson, base, bytestring, Cabal, containers
|
||||||
|
, directory, filepath, lucid, mtl, optparse-applicative, parsec
|
||||||
|
, SJW, stdenv, template, text, time, unix
|
||||||
|
}:
|
||||||
|
mkDerivation {
|
||||||
|
pname = "hablo";
|
||||||
|
version = "1.1.0.0";
|
||||||
|
src = builtins.fetchGit {
|
||||||
|
url = "https://git.marvid.fr/Tissevert/hablo.git";
|
||||||
|
ref = "v1.1.0.0";
|
||||||
|
};
|
||||||
|
isLibrary = true;
|
||||||
|
isExecutable = true;
|
||||||
|
enableSeparateDataOutput = true;
|
||||||
|
libraryHaskellDepends = [
|
||||||
|
aeson base bytestring containers directory filepath lucid mtl
|
||||||
|
optparse-applicative parsec SJW template text time unix
|
||||||
|
];
|
||||||
|
executableHaskellDepends = [ base mtl ];
|
||||||
|
testHaskellDepends = [
|
||||||
|
base Cabal containers directory filepath lucid mtl text
|
||||||
|
];
|
||||||
|
homepage = "https://git.marvid.fr/Tissevert/hablo";
|
||||||
|
description = "A minimalist static blog generator";
|
||||||
|
license = stdenv.lib.licenses.bsd3;
|
||||||
|
}
|
||||||
|
) {};
|
||||||
SJW = self.callPackage (
|
SJW = self.callPackage (
|
||||||
{ mkDerivation, attoparsec, base, Cabal, containers, directory
|
{ mkDerivation, attoparsec, base, Cabal, containers, directory
|
||||||
, filepath, mtl, optparse-applicative, random, stdenv, text, time
|
, filepath, mtl, optparse-applicative, random, stdenv, text, time
|
||||||
|
|
Loading…
Reference in a new issue