ua: switch to fetchFromGitHub
This commit is contained in:
parent
b60ee6e462
commit
e822bf4e6b
1 changed files with 11 additions and 12 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue