jd: switch to fetchFromGitHub
This commit is contained in:
parent
b4e01326d7
commit
ae6e3ae0e2
1 changed files with 6 additions and 6 deletions
|
@ -1,16 +1,16 @@
|
|||
{ lib, buildGoPackage, fetchgit }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "jd";
|
||||
version = "0.3.1";
|
||||
rev = "2729b5af166cfd72bd953ef8959b456c4db940fc";
|
||||
|
||||
goPackagePath = "github.com/tidwall/jd";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/tidwall/jd";
|
||||
sha256 = "0dj4k38pf80dl77jns29vx2dj265s4ksg2q2s9n240b7b8z8mn5h";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tidwall";
|
||||
repo = "jd";
|
||||
rev = "2729b5af166cfd72bd953ef8959b456c4db940fc";
|
||||
sha256 = "sha256-sNiKPlpnASJs0gKLpyfRxQjZRN9JaCvPoQ0gd9GYRDY=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue