nix: use fetchFromGitHub for llvmlite

This commit is contained in:
Sebastien Bourdeauducq 2018-11-16 15:14:20 +08:00
parent d3483c1d26
commit de9d21ffc8
1 changed files with 5 additions and 5 deletions

View File

@ -1,14 +1,14 @@
{ stdenv, fetchgit, llvm-or1k, makeWrapper, python3, ncurses, zlib, python3Packages }: { stdenv, fetchFromGitHub, llvm-or1k, makeWrapper, python3, ncurses, zlib, python3Packages }:
let let
version = "0f4ebae"; version = "0f4ebae";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "llvmlite-${version}"; name = "llvmlite-${version}";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/m-labs/llvmlite";
rev = "401dfb713166bdd2bc0d3ab2b7ebf12e7a434130"; rev = "401dfb713166bdd2bc0d3ab2b7ebf12e7a434130";
sha256 = "1ci1pnpspv1pqz712yix1nmplq7568vpsr6gzzl3a33w9s0sw2nq"; owner = "m-labs";
leaveDotGit = true; repo = "llvmlite";
sha256 = "1hqahd87ihwgjsaxv0y2iywldi1zgyjxjfy3sy3rr1gnwvxb47xw";
}; };
buildInputs = [ makeWrapper python3 ncurses zlib llvm-or1k python3Packages.setuptools ]; buildInputs = [ makeWrapper python3 ncurses zlib llvm-or1k python3Packages.setuptools ];