diff options
author | Wael M. Nasreddine <wael.nasreddine@gmail.com> | 2018-11-20 14:13:22 -0800 |
---|---|---|
committer | Wael M. Nasreddine <wael.nasreddine@gmail.com> | 2018-11-21 14:53:57 -0800 |
commit | 46a652e7e38d697128c7aaf73acb909629fa98e9 (patch) | |
tree | 6a2a1841eb87426bac90020664dfd408219895e7 /pkgs/applications/misc/wtf | |
parent | 0e98312b72b3c4a789b08ce45b037611140a323e (diff) | |
download | nixpkgs-46a652e7e38d697128c7aaf73acb909629fa98e9.tar nixpkgs-46a652e7e38d697128c7aaf73acb909629fa98e9.tar.gz nixpkgs-46a652e7e38d697128c7aaf73acb909629fa98e9.tar.bz2 nixpkgs-46a652e7e38d697128c7aaf73acb909629fa98e9.tar.lz nixpkgs-46a652e7e38d697128c7aaf73acb909629fa98e9.tar.xz nixpkgs-46a652e7e38d697128c7aaf73acb909629fa98e9.tar.zst nixpkgs-46a652e7e38d697128c7aaf73acb909629fa98e9.zip |
wtf: init at 0.4.0
Diffstat (limited to 'pkgs/applications/misc/wtf')
-rw-r--r-- | pkgs/applications/misc/wtf/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/misc/wtf/default.nix b/pkgs/applications/misc/wtf/default.nix new file mode 100644 index 00000000000..a01cef9227b --- /dev/null +++ b/pkgs/applications/misc/wtf/default.nix @@ -0,0 +1,28 @@ +{ buildGoPackage +, fetchFromGitHub +, lib +}: + +buildGoPackage rec { + name = "wtf-${version}"; + version = "0.4.0"; + + goPackagePath = "github.com/senorprogrammer/wtf"; + + src = fetchFromGitHub { + owner = "senorprogrammer"; + repo = "wtf"; + rev = "${version}"; + sha256 = "1vgjqmw27baiq9brmnafic3w3hw11p5qc6ahbdxi5n5n4bx7j6vn"; + }; + + buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ]; + + meta = with lib; { + description = "The personal information dashboard for your terminal"; + homepage = http://wtfutil.com/; + license = licenses.mpl20; + maintainers = with maintainers; [ kalbasit ]; + platforms = platforms.linux ++ platforms.darwin; + }; +} |