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
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchhg, pidgin, cmake, libxml2 } :
|
||||
|
||||
let
|
||||
version = "40ddb6d";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "purple-vk-plugin";
|
||||
inherit version;
|
||||
|
||||
src = fetchhg {
|
||||
url = "https://bitbucket.org/olegoandreev/purple-vk-plugin";
|
||||
rev = version;
|
||||
sha256 = "02p57fgx8ml00cbrb4f280ak2802svz80836dzk9f1zwm1bcr2qc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ pidgin libxml2 ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i -e 's|DESTINATION.*PURPLE_PLUGIN_DIR}|DESTINATION lib/purple-2|' CMakeLists.txt
|
||||
'';
|
||||
|
||||
cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=1" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://bitbucket.org/olegoandreev/purple-vk-plugin";
|
||||
description = "Vk (russian social network) plugin for Pidgin / libpurple";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue