diff options
author | Felix Buehler <account@buehler.rocks> | 2022-01-04 16:38:41 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-01-05 22:42:41 +0100 |
commit | 0baa07bd59d2e854e827f4a4a86ce7c1bcbd1d0d (patch) | |
tree | 5a6235f511e5858aee2c40576e706b9067a36e54 /pkgs/development/libraries | |
parent | 0c8ea70368ba8fac80dc4185e238444db3aaae35 (diff) |
libcrafter: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/libcrafter/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libcrafter/default.nix b/pkgs/development/libraries/libcrafter/default.nix index 37ac9bf7f171d..22543972c1e6c 100644 --- a/pkgs/development/libraries/libcrafter/default.nix +++ b/pkgs/development/libraries/libcrafter/default.nix @@ -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"; |