jd: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-09 10:27:32 +01:00
parent b4e01326d7
commit ae6e3ae0e2

View file

@ -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; {