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
32
pkgs/development/libraries/libcutl/default.nix
Normal file
32
pkgs/development/libraries/libcutl/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchurl, xercesc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libcutl";
|
||||
version = "1.10.0";
|
||||
|
||||
meta = with lib; {
|
||||
description = "C++ utility library from Code Synthesis";
|
||||
longDescription = ''
|
||||
libcutl is a C++ utility library.
|
||||
It contains a collection of generic and independent components such as
|
||||
meta-programming tests, smart pointers, containers, compiler building blocks, etc.
|
||||
'';
|
||||
homepage = "https://codesynthesis.com/projects/libcutl/";
|
||||
changelog = "https://git.codesynthesis.com/cgit/libcutl/libcutl/plain/NEWS?h=${version}";
|
||||
platforms = platforms.all;
|
||||
broken = stdenv.isDarwin;
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
majmin = builtins.head ( builtins.match "([[:digit:]]\\.[[:digit:]]+).*" "${version}" );
|
||||
src = fetchurl {
|
||||
url = "https://codesynthesis.com/download/${pname}/${majmin}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "070j2x02m4gm1fn7gnymrkbdxflgzxwl7m96aryv8wp3f3366l8j";
|
||||
};
|
||||
|
||||
buildInputs = [ xercesc ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue