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
39
pkgs/development/guile-modules/guile-json/default.nix
Normal file
39
pkgs/development/guile-modules/guile-json/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, guile
|
||||
, texinfo
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "guile-json";
|
||||
version = "4.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://savannah/guile-json/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-xTSaI4D2fIphOps698mNITJdRDAjNp5vdhs2bpaUaEM=";
|
||||
};
|
||||
|
||||
postConfigure = ''
|
||||
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile;
|
||||
sed -i '/objdir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile;
|
||||
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site/json%' json/Makefile;
|
||||
sed -i '/objdir\s*=/s%=.*%=''${out}/share/guile/ccache/json%' json/Makefile;
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config texinfo
|
||||
];
|
||||
buildInputs = [
|
||||
guile
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "JSON Bindings for GNU Guile";
|
||||
homepage = "https://savannah.nongnu.org/projects/guile-json";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ethancedwards8 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue