diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2020-11-30 19:50:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 11:50:56 -0800 |
commit | 618b7320a6a07faa8f0f7e86eb2e8d84fd90ad9a (patch) | |
tree | d1e8da7fa7628bf157a9891e0ce86af53845ce5f /pkgs/applications/networking/twtxt | |
parent | a25e06045c037c997c82ad21e53f19812af2d03f (diff) |
twtxt: init at 0.1.0 (#105378)
Diffstat (limited to 'pkgs/applications/networking/twtxt')
-rw-r--r-- | pkgs/applications/networking/twtxt/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/networking/twtxt/default.nix b/pkgs/applications/networking/twtxt/default.nix new file mode 100644 index 0000000000000..98877880255a7 --- /dev/null +++ b/pkgs/applications/networking/twtxt/default.nix @@ -0,0 +1,24 @@ +{ stdenv, lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "twtxt"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "jointwt"; + repo = pname; + rev = version; + sha256 = "15jhfnhpk34nmad04f7xz1w041dba8cn17hq46p9n5sarjgkjiiw"; + }; + + vendorSha256 = "1lnf8wd2rv9d292rp8jndfdg0rjs6gfw0yg49l9spw4yzifnd7f7"; + + subPackages = [ "cmd/twt" "cmd/twtd" ]; + + meta = with lib; { + description = "Self-hosted, Twitter-like decentralised microblogging platform"; + homepage = "https://github.com/jointwt/twtxt"; + license = licenses.mit; + maintainers = with maintainers; [ siraben ]; + }; +} |