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
51
pkgs/applications/window-managers/stalonetray/default.nix
Normal file
51
pkgs/applications/window-managers/stalonetray/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ autoreconfHook
|
||||
, docbook_xml_dtd_44
|
||||
, docbook-xsl-ns
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, libX11
|
||||
, libXpm
|
||||
, libxslt
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "stalonetray";
|
||||
version = "0.8.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kolbusa";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-grxPqSYPLUstLIOKqzMActaSQ2ftYrjbalfR4HcPDRY=";
|
||||
};
|
||||
|
||||
preConfigure =
|
||||
let
|
||||
db_root = "${docbook-xsl-ns}/share/xml/docbook-xsl-ns";
|
||||
ac_str = "AC_SUBST(DOCBOOK_ROOT)";
|
||||
ac_str_sub = "DOCBOOK_ROOT=${db_root}; ${ac_str}";
|
||||
in
|
||||
''
|
||||
substituteInPlace configure.ac --replace '${ac_str}' '${ac_str_sub}'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
docbook-xsl-ns
|
||||
docbook_xml_dtd_44
|
||||
libX11
|
||||
libXpm
|
||||
libxslt
|
||||
];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stand alone tray";
|
||||
homepage = "https://github.com/kolbusa/stalonetray";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue