mynixpkgs/default.nix

62 lines
2.2 KiB
Nix
Raw Permalink Normal View History

2020-12-13 12:06:33 +01:00
{ pkgs ? import <nixpkgs> {} }:
2020-12-14 21:07:44 +01:00
builtins.intersectAttrs {hablo = 1; SJW = 1;} (pkgs.haskellPackages.override {
2020-12-13 12:06:33 +01:00
overrides = self: super: {
2020-12-14 21:07:44 +01:00
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;
}
) {};
2020-12-13 12:06:33 +01:00
SJW = self.callPackage (
{ mkDerivation, attoparsec, base, Cabal, containers, directory
, filepath, mtl, optparse-applicative, random, stdenv, text, time
, unix
}:
mkDerivation {
pname = "SJW";
version = "0.1.2.2";
src = builtins.fetchGit {
url = "https://git.marvid.fr/Tissevert/SJW.git";
ref = "v0.1.2.2";
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
attoparsec base containers directory filepath mtl random text time
unix
];
executableHaskellDepends = [
attoparsec base optparse-applicative text
];
testHaskellDepends = [ base Cabal directory filepath random ];
benchmarkHaskellDepends = [ base directory filepath random time ];
homepage = "https://git.marvid.fr/Tissevert/SJW";
description = "The Simple Javascript Wrench is a very simple tool to pack several JS «modules» into a single script";
license = stdenv.lib.licenses.bsd3;
}
) {};
};
})