mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #246588 from thillux/fix-libdivsufsort
libdivsufsort: fix cross-compilation
This commit is contained in:
commit
25159f4f39
@ -1,14 +1,18 @@
|
||||
{lib, stdenv, fetchurl}:
|
||||
{lib, stdenv, fetchFromGitHub, cmake}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libdivsufsort";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libdivsufsort/libdivsufsort-${version}.tar.bz2";
|
||||
sha256 = "1g0q40vb2k689bpasa914yi8sjsmih04017mw20zaqqpxa32rh2m";
|
||||
src = fetchFromGitHub {
|
||||
owner = "y-256";
|
||||
repo = pname;
|
||||
rev = "${version}";
|
||||
hash = "sha256-4p+L1bq9SBgWSHXx+WYWAe60V2g1AN+zlJvC+F367Tk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/y-256/libdivsufsort";
|
||||
license = lib.licenses.mit;
|
||||
|
Loading…
Reference in New Issue
Block a user