forked from mirrors/nixpkgs
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 {
|
||||
pname = "tracebox";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/tracebox/tracebox/archive/v${version}.zip";
|
||||
sha256 = "0gxdapm6b5a41gymi1f0nr2kyz70vllnk10085yz3pq527gp9gns";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tracebox";
|
||||
repo = "tracebox";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-2r503xEF3/F9QQCEaSnd4Hw/RbbAhVj9C0SVZepVrT8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
|
Loading…
Reference in a new issue