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/tools/X11/sx/default.nix
Normal file
30
pkgs/tools/X11/sx/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ coreutils, fetchFromGitHub, lib, makeWrapper, stdenv, util-linux, xauth, xorgserver }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sx";
|
||||
version = "2.1.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "earnestly";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0xv15m30nhcknasqiybj5wwf7l91q4a4jf6xind8x5x00c6br6nl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/sx \
|
||||
--prefix PATH : ${lib.makeBinPath [ coreutils util-linux xorgserver xauth ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple alternative to both xinit and startx for starting a Xorg server";
|
||||
homepage = "https://github.com/earnestly/sx";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue