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
49
pkgs/development/python-modules/python-efl/default.nix
Normal file
49
pkgs/development/python-modules/python-efl/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, fetchurl
|
||||
, buildPythonPackage
|
||||
, pkg-config
|
||||
, python
|
||||
, dbus-python
|
||||
, packaging
|
||||
, enlightenment
|
||||
}:
|
||||
|
||||
# Should be bumped along with EFL!
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-efl";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/rel/bindings/python/${pname}-${version}.tar.xz";
|
||||
sha256 = "0dj6f24n33hkpy0bkdclnzpxhvs8vpaxqaf7hkw0di19pjwrq25h";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ enlightenment.efl ];
|
||||
|
||||
propagatedBuildInputs = [ dbus-python packaging ];
|
||||
|
||||
preConfigure = ''
|
||||
NIX_CFLAGS_COMPILE="$(pkg-config --cflags efl evas) $NIX_CFLAGS_COMPILE"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
${python.interpreter} setup.py build_ext
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
${python.interpreter} setup.py install --prefix=$out
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python bindings for Enlightenment Foundation Libraries";
|
||||
homepage = "https://github.com/DaveMDS/python-efl";
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [ gpl3 lgpl3 ];
|
||||
maintainers = with maintainers; [ matejc tstrobel ftrvxmtrx ] ++ teams.enlightenment.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue