1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00

libfaketime: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-01-03 00:49:24 +01:00
parent dace3e7c0e
commit 9c2ad237b9

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, perl, coreutils }:
{ lib, stdenv, fetchFromGitHub, perl, coreutils }:
stdenv.mkDerivation rec {
pname = "libfaketime";
version = "0.9.9";
src = fetchurl {
url = "https://github.com/wolfcw/libfaketime/archive/v${version}.tar.gz";
sha256 = "sha256-V9AYEVA2HAqbXI7vBbETkvYTStosLZmOkuY9rtY5ZHw=";
src = fetchFromGitHub {
owner = "wolfcw";
repo = "libfaketime";
rev = "v${version}";
sha256 = "sha256-P1guVggteGtoq8+eeE966hDPkRwsn0m7oLCohyPrIb4=";
};
patches = [