fakeroute: change upstream

Original upstream has been purged, switch to a mirror.
See https://github.com/NixOS/nixpkgs/issues/149201 for details.
This commit is contained in:
Zane van Iperen 2021-12-08 02:34:16 +10:00
parent 7383c704e2
commit cab9136841
No known key found for this signature in database
GPG Key ID: 68616B2D8AC4DCC5

View File

@ -1,14 +1,18 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "fakeroute";
version = "0.3";
src = fetchurl {
url = "https://moxie.org/software/fakeroute/${pname}-${version}.tar.gz";
sha256 = "1sp342rxgm1gz4mvi5vvz1knz7kn9px9s39ii3jdjp4ks7lr5c8f";
src = fetchFromGitHub {
owner = "museoa";
repo = "fakeroute";
rev = "f8cb9c0ae3abb4c0662d9e1fcac67eefeeac3963";
sha256 = "12dhahwlpjzv79wpdpryjihamfbh4d8cfzfw4wi1jkl0dv2d41jg";
};
sourceRoot = "source/fakeroute-0.3";
meta = with lib; {
description = ''
Makes your machine appear to be anywhere on the internet