uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
8
pkgs/development/libraries/isl/0.11.1.nix
Normal file
8
pkgs/development/libraries/isl/0.11.1.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import ./generic.nix {
|
||||
version = "0.11.1";
|
||||
urls = [
|
||||
"https://src.fedoraproject.org/repo/pkgs/gcc/isl-0.11.1.tar.bz2/bce1586384d8635a76d2f017fb067cd2/isl-0.11.1.tar.bz2"
|
||||
];
|
||||
sha256 = "13d9cqa5rzhbjq0xf0b2dyxag7pqa72xj9dhsa03m8ccr1a4npq9";
|
||||
patches = [ ./fix-gcc-build.diff ];
|
||||
}
|
||||
8
pkgs/development/libraries/isl/0.14.1.nix
Normal file
8
pkgs/development/libraries/isl/0.14.1.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import ./generic.nix rec {
|
||||
version = "0.14.1";
|
||||
urls = [
|
||||
"mirror://sourceforge/libisl/isl-${version}.tar.xz"
|
||||
"https://libisl.sourceforge.io/isl-${version}.tar.xz"
|
||||
];
|
||||
sha256 = "0xa6xagah5rywkywn19rzvbvhfvkmylhcxr6z9z7bz29cpiwk0l8";
|
||||
}
|
||||
8
pkgs/development/libraries/isl/0.17.1.nix
Normal file
8
pkgs/development/libraries/isl/0.17.1.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import ./generic.nix rec {
|
||||
version = "0.17.1";
|
||||
urls = [
|
||||
"mirror://sourceforge/libisl/isl-${version}.tar.xz"
|
||||
"https://libisl.sourceforge.io/isl-${version}.tar.xz"
|
||||
];
|
||||
sha256 = "be152e5c816b477594f4c6194b5666d8129f3a27702756ae9ff60346a8731647";
|
||||
}
|
||||
11
pkgs/development/libraries/isl/0.20.0.nix
Normal file
11
pkgs/development/libraries/isl/0.20.0.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import ./generic.nix rec {
|
||||
version = "0.20";
|
||||
urls = [
|
||||
"mirror://sourceforge/libisl/isl-${version}.tar.xz"
|
||||
"https://libisl.sourceforge.io/isl-${version}.tar.xz"
|
||||
];
|
||||
sha256 = "1akpgq0rbqbah5517blg2zlnfvjxfcl9cjrfc75nbcx5p2gnlnd5";
|
||||
configureFlags = [
|
||||
"--with-gcc-arch=generic" # don't guess -march=/mtune=
|
||||
];
|
||||
}
|
||||
11
pkgs/development/libraries/isl/0.24.0.nix
Normal file
11
pkgs/development/libraries/isl/0.24.0.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import ./generic.nix rec {
|
||||
version = "0.24";
|
||||
urls = [
|
||||
"mirror://sourceforge/libisl/isl-${version}.tar.xz"
|
||||
"https://libisl.sourceforge.io/isl-${version}.tar.xz"
|
||||
];
|
||||
sha256 = "1bgbk6n93qqn7w8v21kxf4x6dc3z0ypqrzvgfd46nhagak60ac84";
|
||||
configureFlags = [
|
||||
"--with-gcc-arch=generic" # don't guess -march=/mtune=
|
||||
];
|
||||
}
|
||||
12
pkgs/development/libraries/isl/fix-gcc-build.diff
Normal file
12
pkgs/development/libraries/isl/fix-gcc-build.diff
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -ru isl-0.11.1/include/isl/int.h isl-0.11.1.new/include/isl/int.h
|
||||
--- isl-0.11.1/include/isl/int.h 2012-11-29 09:47:32.000000000 +0100
|
||||
+++ isl-0.11.1.new/include/isl/int.h 2013-10-27 15:35:31.348553812 +0100
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <string.h>
|
||||
#include <gmp.h>
|
||||
#if defined(__cplusplus)
|
||||
-#include <iostream>
|
||||
+#include <ostream>
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus)
|
||||
34
pkgs/development/libraries/isl/generic.nix
Normal file
34
pkgs/development/libraries/isl/generic.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ version
|
||||
, urls
|
||||
, sha256
|
||||
, configureFlags ? []
|
||||
, patches ? []
|
||||
}:
|
||||
|
||||
{ lib, stdenv, fetchurl, gmp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "isl";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
inherit urls sha256;
|
||||
};
|
||||
|
||||
inherit patches;
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ gmp ];
|
||||
|
||||
inherit configureFlags;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://libisl.sourceforge.io/";
|
||||
license = lib.licenses.lgpl21;
|
||||
description = "A library for manipulating sets and relations of integer points bounded by linear constraints";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue