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
32
pkgs/applications/misc/blucontrol/wrapper.nix
Normal file
32
pkgs/applications/misc/blucontrol/wrapper.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, lib, makeWrapper, ghcWithPackages, packages ? (_:[]) }:
|
||||
let
|
||||
blucontrolEnv = ghcWithPackages (self: [ self.blucontrol ] ++ packages self);
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "blucontrol-with-packages";
|
||||
version = blucontrolEnv.version;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
makeWrapper ${blucontrolEnv}/bin/blucontrol $out/bin/blucontrol \
|
||||
--prefix PATH : ${lib.makeBinPath [ blucontrolEnv ]}
|
||||
'';
|
||||
|
||||
# trivial derivation
|
||||
preferLocalBuild = true;
|
||||
allowSubstitues = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Configurable blue light filter";
|
||||
longDescription = ''
|
||||
This application is a blue light filter, with the main focus on configurability.
|
||||
Configuration is done in Haskell in the style of xmonad.
|
||||
Blucontrol makes use of monad transformers and allows monadic calculation of gamma values and recoloring. The user chooses, what will be captured in the monadic state.
|
||||
'';
|
||||
license = licenses.bsd3;
|
||||
homepage = "https://github.com/jumper149/blucontrol";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ jumper149 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue