tracebox: switch to fetchFromGitHub
This commit is contained in:
parent
51aa71bffb
commit
02c1bcfc38
|
@ -1,12 +1,14 @@
|
||||||
{ lib, stdenv, fetchzip, autoreconfHook, libcrafter, libpcap, lua }:
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libcrafter, libpcap, lua }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tracebox";
|
pname = "tracebox";
|
||||||
version = "0.2";
|
version = "0.2";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/tracebox/tracebox/archive/v${version}.zip";
|
owner = "tracebox";
|
||||||
sha256 = "0gxdapm6b5a41gymi1f0nr2kyz70vllnk10085yz3pq527gp9gns";
|
repo = "tracebox";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-2r503xEF3/F9QQCEaSnd4Hw/RbbAhVj9C0SVZepVrT8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
Loading…
Reference in a new issue