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/networking/connman/connman_dmenu/default.nix
Normal file
35
pkgs/tools/networking/connman/connman_dmenu/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchFromGitHub, connman, dmenu }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "connman_dmenu";
|
||||
version = "unstable-2015-09-29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "march-linux";
|
||||
repo = "connman_dmenu";
|
||||
rev = "cc89fec40b574b0d234afeb70ea3c94626ca3f5c";
|
||||
sha256 = "061fi83pai4n19l9d7wq6wwj2d7cixwkhkh742c5ibmw1wb274yk";
|
||||
};
|
||||
|
||||
buildInputs = [ connman dmenu ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
# remove root requirement, see: https://github.com/march-linux/connman_dmenu/issues/3
|
||||
postPatch = ''
|
||||
sed -i '89,92d' connman_dmenu
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp connman_dmenu $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A dmenu wrapper for connmann";
|
||||
homepage = "https://github.com/march-linux/connman_dmenu";
|
||||
license = lib.licenses.free;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue