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
33
pkgs/development/python-modules/python-olm/default.nix
Normal file
33
pkgs/development/python-modules/python-olm/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, buildPythonPackage, isPy3k, olm
|
||||
, cffi, future, typing }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "python-olm";
|
||||
inherit (olm) src version;
|
||||
|
||||
sourceRoot = "source/python";
|
||||
buildInputs = [ olm ];
|
||||
|
||||
preBuild = ''
|
||||
make include/olm/olm.h
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cffi
|
||||
future
|
||||
] ++ lib.optionals (!isPy3k) [ typing ];
|
||||
|
||||
propagatedNativeBuildInputs = [
|
||||
cffi
|
||||
];
|
||||
|
||||
# Some required libraries for testing are not packaged yet.
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "olm" ];
|
||||
|
||||
meta = {
|
||||
inherit (olm.meta) license maintainers;
|
||||
description = "Python bindings for Olm";
|
||||
homepage = "https://gitlab.matrix.org/matrix-org/olm/tree/master/python";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue