advent-of-code-2023/haskell/default.nix

15 lines
422 B
Nix

{ mkDerivation, base, containers, fingertree, lib }:
mkDerivation {
pname = "aoc2023";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base containers fingertree ];
executableHaskellDepends = [ base ];
homepage = "https://git.pub.solar/axeman/aoc2023";
description = "Advent of Code 2023";
license = lib.licenses.agpl3Plus;
mainProgram = "aoc2023";
}