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
30
pkgs/applications/window-managers/2bwm/default.nix
Normal file
30
pkgs/applications/window-managers/2bwm/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, patches
|
||||
, libxcb, xcbutilkeysyms, xcbutilwm
|
||||
, libX11, xcbutil, xcbutilxrm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.3";
|
||||
pname = "2bwm";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "venam";
|
||||
repo = "2bwm";
|
||||
rev = "v${version}";
|
||||
sha256 = "1xwib612ahv4rg9yl5injck89dlpyp5475xqgag0ydfd0r4sfld7";
|
||||
};
|
||||
|
||||
# Allow users set their own list of patches
|
||||
inherit patches;
|
||||
|
||||
buildInputs = [ libxcb xcbutilkeysyms xcbutilwm libX11 xcbutil xcbutilxrm ];
|
||||
|
||||
installPhase = "make install DESTDIR=$out PREFIX=\"\"";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/venam/2bwm";
|
||||
description = "A fast floating WM written over the XCB library and derived from mcwm";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue