project_init 3.1.23

Quickly initialize projects from a template.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
{ mkDerivation, base, hspec, stdenv }:
mkDerivation {
  pname = "{{ project }}";
  version = "{{ version }}";
  src = ./.;
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [ base ];
  executableHaskellDepends = [ base ];
  testHaskellDepends = [ base hspec ];
  homepage = "https://github.com/{{ github_username }}/{{ project }}#readme";
  license = stdenv.lib.licenses.bsd3;
}