2019-06-16 19:59:06 +00:00
|
|
|
{ lib, haskellPackages, fetchFromGitHub }:
|
2018-10-04 12:57:07 +00:00
|
|
|
|
|
|
|
let
|
2020-02-06 08:52:43 +00:00
|
|
|
version = "1.9.2";
|
|
|
|
sha256 = "1al385dn3pqw9dnby65abdj18qg46dzk3bhxnhnc0gj1ks1rygmx";
|
2018-10-04 12:57:07 +00: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 10:19:43 +00:00
|
|
|
fold-debounce
|
2018-10-04 12:57:07 +00:00
|
|
|
http-conduit
|
|
|
|
http-client
|
|
|
|
http-types
|
|
|
|
lens
|
2019-04-28 10:19:43 +00:00
|
|
|
raw-strings-qq
|
2018-10-04 12:57:07 +00:00
|
|
|
# mtl
|
|
|
|
# template-haskell
|
|
|
|
# text
|
|
|
|
time
|
|
|
|
vty
|
2020-01-08 14:13:30 +00:00
|
|
|
tz
|
2018-10-04 12:57:07 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
executableHaskellDepends = [];
|
|
|
|
|
|
|
|
testHaskellDepends = with haskellPackages; [
|
|
|
|
tasty
|
|
|
|
tasty-discover
|
|
|
|
tasty-expected-failure
|
|
|
|
tasty-hunit
|
|
|
|
];
|
|
|
|
|
2019-05-08 14:49:00 +00: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 12:57:07 +00:00
|
|
|
})
|