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
43
pkgs/development/libraries/poly2tri-c/default.nix
Normal file
43
pkgs/development/libraries/poly2tri-c/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitLab
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "poly2tri-c";
|
||||
version = "0.1.0";
|
||||
|
||||
outputs = [ "bin" "out" "dev" ];
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "jtojnar";
|
||||
repo = pname;
|
||||
rev = "p2tc-${version}";
|
||||
sha256 = "158vm3wqfxs22b74kqc4prlvjny38qqm3kz5wrgasmx0qciwh0g8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"--std=gnu99"
|
||||
"-Wno-error"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for generating, refining and rendering 2-Dimensional Constrained Delaunay Triangulations";
|
||||
homepage = "https://code.google.com/archive/p/poly2tri-c/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ jtojnar ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue