ws: switch to fetchFromGitHub
This commit is contained in:
parent
8322c182fa
commit
821348523f
|
@ -1,17 +1,16 @@
|
||||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||||
{ lib, buildGoPackage, fetchgit }:
|
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "ws";
|
pname = "ws";
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
rev = "e9404cb37e339333088b36f6a7909ff3be76931d";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/hashrocket/ws";
|
goPackagePath = "github.com/hashrocket/ws";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
owner = "hashrocket";
|
||||||
url = "https://github.com/hashrocket/ws";
|
repo = "ws";
|
||||||
sha256 = "192slrz1cj1chzmfrl0d9ai8bq6s4w0iwpvxkhxb9krga7mkp9xb";
|
rev = "e9404cb37e339333088b36f6a7909ff3be76931d";
|
||||||
|
sha256 = "sha256-q6c761Evz7Q6nH1fHgEn2uCFokoN0OzqhyxIFn6mWqQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue