Compare commits

...

2 Commits

3 changed files with 27 additions and 1 deletions

View File

@ -29,7 +29,7 @@ library
, lens
, bytestring
, text
, brick
, brick < 1
, HTTP
, vty
, transformers

20
kino.nix 100644
View File

@ -0,0 +1,20 @@
{ mkDerivation, aeson, base, brick_0_70_1, bytestring, Clipboard, HTTP
, lens, lens-aeson, lib, microlens, microlens-th, text
, transformers, vty, wreq
}:
mkDerivation {
pname = "kino";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base brick_0_70_1 bytestring Clipboard HTTP lens lens-aeson
microlens microlens-th text transformers vty wreq
];
executableHaskellDepends = [ base ];
testHaskellDepends = [ base ];
description = "A terminal interface to the yts.mx api";
license = lib.licenses.isc;
mainProgram = "kino";
}

6
shell.nix 100644
View File

@ -0,0 +1,6 @@
let pkgs = import <nixpkgs> {};
in with pkgs; mkShell {
packages = [
(haskellPackages.callPackage ./kino.nix {})
];
}