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