mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
libcrafter: switch to fetchFromGitHub
This commit is contained in:
parent
0c8ea70368
commit
0baa07bd59
@ -1,12 +1,14 @@
|
||||
{ lib, stdenv, fetchzip, autoconf, automake, libtool, libpcap }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, libpcap }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libcrafter";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/pellegre/libcrafter/archive/version-${version}.zip";
|
||||
sha256 = "1d2vgxawdwk2zg3scxclxdby1rhghmivly8azdjja89kw7gls9xl";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pellegre";
|
||||
repo = "libcrafter";
|
||||
rev = "version-${version}";
|
||||
sha256 = "sha256-tCdN3+EzISVl+wp5umOFD+bgV+uUdabH+2LyxlV/W7Q=";
|
||||
};
|
||||
|
||||
preConfigure = "cd libcrafter";
|
||||
|
Loading…
Reference in New Issue
Block a user