forked from mirrors/nixpkgs
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, fetchgit }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "ws";
|
||||
version = "0.2.1";
|
||||
rev = "e9404cb37e339333088b36f6a7909ff3be76931d";
|
||||
|
||||
goPackagePath = "github.com/hashrocket/ws";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/hashrocket/ws";
|
||||
sha256 = "192slrz1cj1chzmfrl0d9ai8bq6s4w0iwpvxkhxb9krga7mkp9xb";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hashrocket";
|
||||
repo = "ws";
|
||||
rev = "e9404cb37e339333088b36f6a7909ff3be76931d";
|
||||
sha256 = "sha256-q6c761Evz7Q6nH1fHgEn2uCFokoN0OzqhyxIFn6mWqQ=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue