34 lines
1.2 KiB
Nix
34 lines
1.2 KiB
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
builtins.intersectAttrs {SJW = 1;} (pkgs.haskellPackages.override {
|
|
overrides = self: super: {
|
|
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;
|
|
}
|
|
) {};
|
|
};
|
|
})
|