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
53
pkgs/applications/window-managers/mlvwm/default.nix
Normal file
53
pkgs/applications/window-managers/mlvwm/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib, stdenv, fetchFromGitHub, gccmakedep, libX11, libXext, libXpm, imake, installShellFiles, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mlvwm";
|
||||
version = "0.9.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "morgant";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-ElKmi+ANuB3LPwZTMcr5HEMESjDwENbYnNIGdRP24d0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = [ gccmakedep libX11 libXext libXpm imake ];
|
||||
|
||||
buildPhase = ''
|
||||
(cd man && xmkmf)
|
||||
(cd sample_rc && xmkmf)
|
||||
(cd mlvwm && xmkmf)
|
||||
xmkmf
|
||||
make
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,etc}
|
||||
cp mlvwm/mlvwm $out/bin
|
||||
cp sample_rc/Mlvwmrc* $out/etc
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv man/mlvwm.man man/mlvwm.1
|
||||
installManPage man/mlvwm.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/morgant/mlvwm";
|
||||
description = "Macintosh-like Virtual Window Manager";
|
||||
license = licenses.mit;
|
||||
longDescription = ''
|
||||
MLVWM or Macintosh-Like Virtual Window Manager,
|
||||
is an FVWM descendant created by Takashi Hasegawa
|
||||
in 1997 while studying at Nagoya University and
|
||||
was written entirely in the C programming language.
|
||||
As its name implies, it attempts to emulate the
|
||||
pre-Mac OS X Macintosh look and feel in its layout and window design.
|
||||
'';
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.j0hax ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue