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
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, dockapps-sources, pkg-config, libX11, libXpm, libXext, alsa-lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "AlsaMixer.app";
|
||||
version = "0.2.1";
|
||||
|
||||
src = dockapps-sources;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libX11 libXpm libXext alsa-lib ];
|
||||
|
||||
setSourceRoot = ''
|
||||
export sourceRoot=$(echo */${pname})
|
||||
'';
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
preInstall = ''
|
||||
install -d ${placeholder "out"}/bin
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -t ${placeholder "out"}/bin AlsaMixer.app
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
ln -s ${placeholder "out"}/bin/AlsaMixer.app ${placeholder "out"}/bin/AlsaMixer
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Alsa mixer application for Windowmaker";
|
||||
homepage = "https://www.dockapps.net/alsamixerapp";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.bstrik ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue