git.iko.soy/typeable/nixpkgs
on master help sign in
v86d: switch to fetchFromGitHub
commit997579a42a079932ac0a3498c314d6ed5e61f803 authorFelix Buehler <account@buehler.rocks> dateSun 19 Sep 2021, 17:08 (5 years ago) parentc217af1
1 file changed+10−5
pkgs/os-specific/linux/v86d/default.nix+10−5
pkgs/os-specific/linux/v86d/default.nix+10−5
@@ -1,14 +1,19 @@
1−{ lib, stdenv, fetchurl
2−, kernel, klibc
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, kernel
5+, klibc
36}:
47
58stdenv.mkDerivation rec {
69 name = "v86d-${version}-${kernel.version}";
710 version = "0.1.10";
811
9− src = fetchurl {
10− url = "https://github.com/mjanusz/v86d/archive/v86d-${version}.tar.gz";
11− sha256 = "1flnpp8rc945cxr6jr9dlm8mi8gr181zrp2say4269602s1a4ymg";
12+ src = fetchFromGitHub {
13+ owner = "mjanusz";
14+ repo = "v86d";
15+ rev = "v86d-${version}";
16+ hash = "sha256-95LRzVbO/DyddmPwQNNQ290tasCGoQk7FDHlst6LkbA=";
1217 };
1318
1419 patchPhase = ''