nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 mkDerivation,
3 aeson,
4 base,
5 filepath,
6 lib,
7 optparse-applicative,
8 sandwich,
9 text,
10 unliftio,
11 yaml,
12}:
13mkDerivation {
14 pname = "julia-top-n";
15 version = "0.1.0.0";
16 src = lib.fileset.toSource {
17 root = ./.;
18 fileset = lib.fileset.unions [
19 ./app
20 ./julia-top-n.cabal
21 ./package.yaml
22 ./stack.yaml
23 ./stack.yaml.lock
24 ];
25 };
26 isLibrary = false;
27 isExecutable = true;
28 executableHaskellDepends = [
29 aeson
30 base
31 filepath
32 optparse-applicative
33 sandwich
34 text
35 unliftio
36 yaml
37 ];
38 license = lib.licenses.bsd3;
39 mainProgram = "julia-top-n-exe";
40}