nixpkgs-suyu/pkgs/applications/misc/todolist/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 lines
554 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "todolist";
version = "v0.8.1";
goPackagePath = "github.com/gammons/todolist";
src = fetchFromGitHub {
owner = "gammons";
repo = "todolist";
rev = "${version}";
sha256 = "0dazfymby5xm4482p9cyj23djmkz5q7g79cqm2d85mczvz7vks8p";
};
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 ];
};
}