2019-06-16 20:59:06 +01:00
|
|
|
{ lib, haskellPackages, fetchFromGitHub }:
|
2018-10-04 13:57:07 +01:00
|
|
|
|
|
|
|
let
|
2019-11-29 19:08:14 +00:00
|
|
|
version = "1.7.3";
|
|
|
|
sha256 = "1439fh79ilc6jvz894cfzhk7gy5r2sv4v79bvqmmqbzbqk9qsbvx";
|
2018-10-04 13:57:07 +01:00
|
|
|
|
|
|
|
in (haskellPackages.mkDerivation {
|
|
|
|
pname = "taskell";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "smallhadroncollider";
|
|
|
|
repo = "taskell";
|
|
|
|
rev = version;
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''${haskellPackages.hpack}/bin/hpack'';
|
|
|
|
|
|
|
|
# basically justStaticExecutables; TODO: use justStaticExecutables
|
|
|
|
enableSharedExecutables = false;
|
|
|
|
enableLibraryProfiling = false;
|
|
|
|
isExecutable = true;
|
|
|
|
doHaddock = false;
|
|
|
|
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
|
|
|
|
|
|
|
|
# copied from packages.yaml
|
|
|
|
libraryHaskellDepends = with haskellPackages; [
|
|
|
|
classy-prelude
|
|
|
|
# base <=5
|
|
|
|
aeson
|
|
|
|
brick
|
|
|
|
# bytestring
|
|
|
|
config-ini
|
|
|
|
# containers
|
|
|
|
# directory
|
|
|
|
file-embed
|
2019-04-28 11:19:43 +01:00
|
|
|
fold-debounce
|
2018-10-04 13:57:07 +01:00
|
|
|
http-conduit
|
|
|
|
http-client
|
|
|
|
http-types
|
|
|
|
lens
|
2019-04-28 11:19:43 +01:00
|
|
|
raw-strings-qq
|
2018-10-04 13:57:07 +01:00
|
|
|
# mtl
|
|
|
|
# template-haskell
|
|
|
|
# text
|
|
|
|
time
|
|
|
|
vty
|
|
|
|
];
|
|
|
|
|
|
|
|
executableHaskellDepends = [];
|
|
|
|
|
|
|
|
testHaskellDepends = with haskellPackages; [
|
|
|
|
tasty
|
|
|
|
tasty-discover
|
|
|
|
tasty-expected-failure
|
|
|
|
tasty-hunit
|
|
|
|
];
|
|
|
|
|
2019-05-08 15:49:00 +01:00
|
|
|
description = "Command-line Kanban board/task manager with support for Trello boards and GitHub projects";
|
|
|
|
homepage = "https://taskell.app";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
|
|
|
platforms = with lib.platforms; unix ++ darwin;
|
2018-10-04 13:57:07 +01:00
|
|
|
})
|