From de9d21ffc87e4d1bb9299b235439490b6dd2ac03 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 16 Nov 2018 15:14:20 +0800 Subject: [PATCH] nix: use fetchFromGitHub for llvmlite --- nix/llvmlite.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nix/llvmlite.nix b/nix/llvmlite.nix index e03f408e8..5db02ca35 100644 --- a/nix/llvmlite.nix +++ b/nix/llvmlite.nix @@ -1,14 +1,14 @@ -{ stdenv, fetchgit, llvm-or1k, makeWrapper, python3, ncurses, zlib, python3Packages }: +{ stdenv, fetchFromGitHub, llvm-or1k, makeWrapper, python3, ncurses, zlib, python3Packages }: let version = "0f4ebae"; in stdenv.mkDerivation rec { name = "llvmlite-${version}"; - src = fetchgit { - url = "https://github.com/m-labs/llvmlite"; + src = fetchFromGitHub { rev = "401dfb713166bdd2bc0d3ab2b7ebf12e7a434130"; - sha256 = "1ci1pnpspv1pqz712yix1nmplq7568vpsr6gzzl3a33w9s0sw2nq"; - leaveDotGit = true; + owner = "m-labs"; + repo = "llvmlite"; + sha256 = "1hqahd87ihwgjsaxv0y2iywldi1zgyjxjfy3sy3rr1gnwvxb47xw"; }; buildInputs = [ makeWrapper python3 ncurses zlib llvm-or1k python3Packages.setuptools ];