about summary refs log tree commit diff
path: root/pkgs/tools/networking/ua/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/networking/ua/default.nix')
-rw-r--r--pkgs/tools/networking/ua/default.nix23
1 files changed, 11 insertions, 12 deletions
diff --git a/pkgs/tools/networking/ua/default.nix b/pkgs/tools/networking/ua/default.nix
index feb17b283de56..4190e81021470 100644
--- a/pkgs/tools/networking/ua/default.nix
+++ b/pkgs/tools/networking/ua/default.nix
@@ -1,19 +1,19 @@
-{ lib, buildGoPackage, fetchgit
+{ lib, buildGoPackage, fetchFromGitHub
 , pkg-config
 , glib, libxml2
 }:
 
 buildGoPackage rec {
-  pname = "ua-unstable";
-  version = "2017-02-24";
-  rev = "325dab92c60e0f028e55060f0c288aa70905fb17";
+  pname = "ua";
+  version = "unstable-2017-02-24";
 
   goPackagePath = "github.com/sloonz/ua";
 
-  src = fetchgit {
-    inherit rev;
-    url = "https://github.com/sloonz/ua.git";
-    sha256 = "0452qknc8km9495324g6b5ja3shvk8jl7aa9nrjhdylf09dp2nif";
+  src = fetchFromGitHub {
+    owner = "sloonz";
+    repo = "ua";
+    rev = "325dab92c60e0f028e55060f0c288aa70905fb17";
+    sha256 = "sha256-LlpxWwKO+gZltkmpQyWaG+qhZFnmETFKIqlOxOzEohA=";
   };
 
   goDeps = ./deps.nix;
@@ -21,11 +21,10 @@ buildGoPackage rec {
   nativeBuildInputs = [ pkg-config ];
   buildInputs = [ glib libxml2 ];
 
-  meta = {
+  meta = with lib; {
     homepage = "https://github.com/sloonz/ua";
-    license = lib.licenses.isc;
+    license = licenses.isc;
     description = "Universal Aggregator";
-    platforms = lib.platforms.unix;
-    maintainers = with lib.maintainers; [ ttuegel ];
+    maintainers = with maintainers; [ ttuegel ];
   };
 }