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
57
pkgs/development/python-modules/smart-open/default.nix
Normal file
57
pkgs/development/python-modules/smart-open/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, azure-common
|
||||
, azure-core
|
||||
, azure-storage-blob
|
||||
, boto3
|
||||
, google-cloud-storage
|
||||
, requests
|
||||
, moto
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "smart-open";
|
||||
version = "6.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RaRe-Technologies";
|
||||
repo = "smart_open";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-FEIJ1DBW0mz7n+J03C1Lg8uAs2ZxI0giM7+mvuNPyGg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-common
|
||||
azure-core
|
||||
azure-storage-blob
|
||||
boto3
|
||||
google-cloud-storage
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
moto
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"smart_open"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"smart_open"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for efficient streaming of very large file";
|
||||
homepage = "https://github.com/RaRe-Technologies/smart_open";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jyp ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue