depot/third_party/nixpkgs/pkgs/applications/misc/timewarrior/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

27 lines
688 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, asciidoctor }:
stdenv.mkDerivation rec {
pname = "timewarrior";
version = "1.4.3";
src = fetchFromGitHub {
owner = "GothenburgBitFactory";
repo = "timewarrior";
rev = "v${version}";
sha256 = "00ydikzmxym5jhv6w1ii12a6zw5ighddbzxsw03xg8yabzzfnvzw";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake asciidoctor ];
dontUseCmakeBuildDir = true;
meta = with lib; {
description = "A command-line time tracker";
homepage = "https://timewarrior.net";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer mrVanDalo ];
platforms = platforms.linux ++ platforms.darwin;
};
}