3
0
Fork 0
forked from mirrors/nixpkgs

spike: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-15 11:26:26 +01:00
parent b5d1310056
commit ba4c657bda

View file

@ -1,11 +1,12 @@
{ lib, stdenv, fetchgit, dtc, fetchpatch, pkgsCross }:
{ lib, stdenv, fetchFromGitHub, dtc, fetchpatch, pkgsCross }:
stdenv.mkDerivation rec {
pname = "spike";
version = "1.0.0";
src = fetchgit {
url = "https://github.com/riscv/riscv-isa-sim.git";
src = fetchFromGitHub {
owner = "riscv";
repo = "riscv-isa-sim";
rev = "v${version}";
sha256 = "1hcl01nj96s3rkz4mrq747s5lkw81lgdjdimb8b1b9h8qnida7ww";
};