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
35
pkgs/tools/X11/wmctrl/default.nix
Normal file
35
pkgs/tools/X11/wmctrl/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, libX11
|
||||
, glib
|
||||
, pkg-config
|
||||
, libXmu
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "wmctrl";
|
||||
version = "1.07";
|
||||
|
||||
src = fetchurl {
|
||||
# NOTE: 2019-04-11: There is also a semi-official mirror: http://tripie.sweb.cz/utils/wmctrl/
|
||||
url = "https://sites.google.com/site/tstyblo/wmctrl/${pname}-${version}.tar.gz";
|
||||
sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
depsBuildBuild = [ pkg-config ];
|
||||
nativeBuildInputs = [ glib.dev ];
|
||||
buildInputs = [ libX11 libXmu glib ];
|
||||
|
||||
patches = [ ./64-bit-data.patch ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://sites.google.com/site/tstyblo/wmctrl";
|
||||
description = "CLI tool to interact with EWMH/NetWM compatible X Window Managers";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = with lib.platforms; all;
|
||||
maintainers = [ lib.maintainers.Anton-Latukha ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue