From 300a28bb31cf3f0de962e0b9313c3ba2c4879b38 Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Tue, 20 Mar 2018 17:37:23 +0100 Subject: [PATCH] todolist: init at 0.8 --- maintainers/maintainer-list.nix | 5 +++++ pkgs/applications/misc/todolist/default.nix | 22 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 pkgs/applications/misc/todolist/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 867cd0b48888..369508f842c7 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3670,6 +3670,11 @@ github = "utdemir"; name = "Utku Demir"; }; + uvnikita = { + email = "uv.nikita@gmail.com"; + github = "uvNikita"; + name = "Nikita Uvarov"; + }; uwap = { email = "me@uwap.name"; github = "uwap"; diff --git a/pkgs/applications/misc/todolist/default.nix b/pkgs/applications/misc/todolist/default.nix new file mode 100644 index 000000000000..61e10b6d1a6a --- /dev/null +++ b/pkgs/applications/misc/todolist/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "todolist-${version}"; + version = "0.8"; + + goPackagePath = "github.com/gammons/todolist"; + + src = fetchFromGitHub { + owner = "gammons"; + repo = "todolist"; + rev = "${version}"; + sha256 = "0agv9a44q81qr960b7m1jxk0pb8ahk6lvmzmijvw4v6mbip2720z"; + }; + + meta = with stdenv.lib; { + description = "Simple GTD-style todo list for the command line"; + homepage = "http://todolist.site"; + license = licenses.mit; + maintainers = with maintainers; [ uvnikita ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9966f862f903..007a128f18a2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8204,6 +8204,8 @@ with pkgs; texi2mdoc = callPackage ../tools/misc/texi2mdoc { }; + todolist = callPackage ../applications/misc/todolist { }; + travis = callPackage ../development/tools/misc/travis { }; tweak = callPackage ../applications/editors/tweak { };