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

25 lines
615 B
Nix
Raw Normal View History

2020-03-21 10:49:00 +00:00
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
2019-02-11 13:56:30 +00:00
buildGoModule rec {
pname = "todoist";
2020-01-17 11:44:05 +00:00
version = "0.15.0";
2019-02-11 13:56:30 +00:00
src = fetchFromGitHub {
owner = "sachaos";
repo = "todoist";
rev = "v${version}";
2020-01-17 11:44:05 +00:00
sha256 = "0d3c621jaqxd6i58xm6nvi0avrh5mk23r169i95bn73igzw62w33";
2019-02-11 13:56:30 +00:00
};
2019-09-16 21:01:37 +00:00
modSha256 = "1nnp5ijz4n34gc97rar4wlvlbx21ndpjyb2mc6gxdk1wzx3mgswp";
2019-02-11 13:56:30 +00:00
2020-03-21 10:49:00 +00:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
2019-02-11 13:56:30 +00:00
homepage = https://github.com/sachaos/todoist;
description = "Todoist CLI Client";
2020-03-21 10:49:00 +00:00
license = licenses.mit;
platforms = platforms.unix;
2019-02-11 13:56:30 +00:00
};
}