diff --git a/pkgs/tools/misc/phraseapp-client/default.nix b/pkgs/tools/misc/phraseapp-client/default.nix new file mode 100644 index 000000000000..1823c2cfad6b --- /dev/null +++ b/pkgs/tools/misc/phraseapp-client/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "phraseapp-client-${version}"; + version = "1.4.3"; + + goPackagePath = "github.com/phrase/phraseapp-client"; + subPackages = [ "." ]; + + src = fetchFromGitHub { + owner = "phrase"; + repo = "phraseapp-client"; + rev = version; + sha256 = "1nfab7y75vl0vg9vy8gc46h7wikk94nky1n415im1xbpsnqg77wz"; + }; + + meta = with stdenv.lib; { + homepage = http://docs.phraseapp.com; + description = "PhraseApp API v2 Command Line Client"; + platforms = platforms.all; + license = licenses.mit; + maintainers = with maintainers; [ manveru ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1c3a78d44f68..74f4f111eb5f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14810,6 +14810,8 @@ with pkgs; phrasendrescher = callPackage ../tools/security/phrasendrescher { }; + phraseapp-client = callPackage ../tools/misc/phraseapp-client { }; + phwmon = callPackage ../applications/misc/phwmon { }; pianobar = callPackage ../applications/audio/pianobar { };