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/sord/default.nix
Normal file
32
pkgs/development/libraries/sord/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchFromGitHub, pkg-config, python3, serd, pcre, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sord";
|
||||
version = "unstable-2021-01-12";
|
||||
|
||||
# Commit picked in mitigation of #109729
|
||||
src = fetchFromGitHub {
|
||||
owner = "drobilla";
|
||||
repo = pname;
|
||||
rev = "d2efdb2d026216449599350b55c2c85c0d3efb89";
|
||||
sha256 = "hHTwK+K6cj9MGO77a1IXiUZtEbXZ08cLGkYZ5eMOIVA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export PKGCONFIG="$PKG_CONFIG"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config python3 wafHook ];
|
||||
buildInputs = [ pcre ];
|
||||
propagatedBuildInputs = [ serd ];
|
||||
dontAddWafCrossFlags = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://drobilla.net/software/sord";
|
||||
description = "A lightweight C library for storing RDF data in memory";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue