nixpkgs/pkgs/applications/misc/timewarrior/default.nix

28 lines
688 B
Nix
Raw Normal View History

2021-06-09 14:08:52 +01:00
{ lib, stdenv, fetchFromGitHub, cmake, asciidoctor }:
2016-04-01 08:46:48 +01:00
stdenv.mkDerivation rec {
pname = "timewarrior";
2021-06-09 14:08:52 +01:00
version = "1.4.3";
2016-04-01 08:46:48 +01:00
src = fetchFromGitHub {
owner = "GothenburgBitFactory";
repo = "timewarrior";
rev = "v${version}";
2021-06-09 14:08:52 +01:00
sha256 = "00ydikzmxym5jhv6w1ii12a6zw5ighddbzxsw03xg8yabzzfnvzw";
fetchSubmodules = true;
2016-04-01 08:46:48 +01:00
};
2021-06-09 14:08:52 +01:00
nativeBuildInputs = [ cmake asciidoctor ];
dontUseCmakeBuildDir = true;
2016-04-01 08:46:48 +01:00
meta = with lib; {
2016-04-01 08:46:48 +01:00
description = "A command-line time tracker";
homepage = "https://timewarrior.net";
2016-04-01 08:46:48 +01:00
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer mrVanDalo ];
2018-03-13 16:30:51 +00:00
platforms = platforms.linux ++ platforms.darwin;
2016-04-01 08:46:48 +01:00
};
}