e4f0b64544
https://github.com/smallhadroncollider/taskell/releases/tag/1.6.0 https://github.com/smallhadroncollider/taskell/releases/tag/1.5.1 https://github.com/smallhadroncollider/taskell/releases/tag/1.5.0
65 lines
1.4 KiB
Nix
65 lines
1.4 KiB
Nix
{ lib, haskellPackages, fetchFromGitHub }:
|
|
|
|
let
|
|
version = "1.6.0";
|
|
sha256 = "1yq7lbqg759i3hyxcskx3924b7xmw6i4ny6n8yq80k4hikw2k6mf";
|
|
|
|
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
|
|
fold-debounce
|
|
http-conduit
|
|
http-client
|
|
http-types
|
|
lens
|
|
raw-strings-qq
|
|
# mtl
|
|
# template-haskell
|
|
# text
|
|
time
|
|
vty
|
|
];
|
|
|
|
executableHaskellDepends = [];
|
|
|
|
testHaskellDepends = with haskellPackages; [
|
|
tasty
|
|
tasty-discover
|
|
tasty-expected-failure
|
|
tasty-hunit
|
|
];
|
|
|
|
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;
|
|
})
|