libfaketime: switch to fetchFromGitHub
This commit is contained in:
parent
dace3e7c0e
commit
9c2ad237b9
|
@ -1,12 +1,14 @@
|
||||||
{ lib, stdenv, fetchurl, perl, coreutils }:
|
{ lib, stdenv, fetchFromGitHub, perl, coreutils }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libfaketime";
|
pname = "libfaketime";
|
||||||
version = "0.9.9";
|
version = "0.9.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/wolfcw/libfaketime/archive/v${version}.tar.gz";
|
owner = "wolfcw";
|
||||||
sha256 = "sha256-V9AYEVA2HAqbXI7vBbETkvYTStosLZmOkuY9rtY5ZHw=";
|
repo = "libfaketime";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-P1guVggteGtoq8+eeE966hDPkRwsn0m7oLCohyPrIb4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
Loading…
Reference in a new issue