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
55
pkgs/development/python-modules/etesync/default.nix
Normal file
55
pkgs/development/python-modules/etesync/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27,
|
||||
appdirs, asn1crypto, cffi, cryptography, furl, idna, orderedmultidict,
|
||||
packaging, peewee, py, pyasn1, pycparser, pyparsing, pyscrypt,
|
||||
python-dateutil, pytz, requests, six, vobject,
|
||||
pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "etesync";
|
||||
version = "0.12.1";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f20f7e9922ee789c4b71379676ebfe656b675913fe524f2ee722e1b9ef4e5197";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
asn1crypto
|
||||
cffi
|
||||
cryptography
|
||||
furl
|
||||
idna
|
||||
orderedmultidict
|
||||
packaging
|
||||
peewee
|
||||
py
|
||||
pyasn1
|
||||
pycparser
|
||||
pyparsing
|
||||
pyscrypt
|
||||
python-dateutil
|
||||
pytz
|
||||
requests
|
||||
six
|
||||
vobject
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/test_collections.py
|
||||
pytest tests/test_crypto.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.etesync.com/";
|
||||
description = "A python API to interact with an EteSync server.";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ valodim ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue