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
21
pkgs/tools/X11/numlockx/default.nix
Normal file
21
pkgs/tools/X11/numlockx/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, stdenv, fetchFromGitHub, libX11, libXext, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.2";
|
||||
pname = "numlockx";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rg3";
|
||||
repo = pname;
|
||||
rev = "9159fd3c5717c595dadfcb33b380a85c88406185";
|
||||
sha256 = "1w49fayhwzn5rx0z1q2lrvm7z8jrd34lgb89p853a024bixc3cf2";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 libXext autoconf ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows to start X with NumLock turned on";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue