Publish nix derivation for SJW
This commit is contained in:
parent
90daeef36e
commit
a182a6fa0c
1 changed files with 33 additions and 0 deletions
33
default.nix
Normal file
33
default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ 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;
|
||||
}
|
||||
) {};
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue