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
41
pkgs/tools/package-management/akku/default.nix
Normal file
41
pkgs/tools/package-management/akku/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, guile, curl, substituteAll }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "akku";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "akkuscm";
|
||||
repo = "akku";
|
||||
rev = "v${version}";
|
||||
sha256 = "1pi18aamg1fd6f9ynfl7zx92052xzf0zwmhi2pwcwjs1kbah19f5";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# substitute libcurl path
|
||||
(substituteAll {
|
||||
src = ./hardcode-libcurl.patch;
|
||||
libcurl = "${curl.out}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [ guile ];
|
||||
|
||||
# Use a dummy package index to boostrap Akku
|
||||
preBuild = ''
|
||||
touch bootstrap.db
|
||||
'';
|
||||
|
||||
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://akkuscm.org/";
|
||||
description = "Language package manager for Scheme";
|
||||
changelog = "https://gitlab.com/akkuscm/akku/-/raw/v${version}/NEWS.md";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue