From acdcbf7b145176e46a04d014b081d562e3bc8757 Mon Sep 17 00:00:00 2001 From: Michael Fellinger Date: Fri, 17 Mar 2017 21:50:50 +0100 Subject: [PATCH] phraseapp-client: init at 1.4.3 --- pkgs/tools/misc/phraseapp-client/default.nix | 24 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/tools/misc/phraseapp-client/default.nix 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 { };