nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 57 lines 1.0 kB view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5, azure-common 6, azure-core 7, azure-storage-blob 8, boto3 9, google-cloud-storage 10, requests 11, moto 12, pytestCheckHook 13}: 14 15buildPythonPackage rec { 16 pname = "smart-open"; 17 version = "6.0.0"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.6"; 21 22 src = fetchFromGitHub { 23 owner = "RaRe-Technologies"; 24 repo = "smart_open"; 25 rev = "v${version}"; 26 sha256 = "sha256-FEIJ1DBW0mz7n+J03C1Lg8uAs2ZxI0giM7+mvuNPyGg="; 27 }; 28 29 propagatedBuildInputs = [ 30 azure-common 31 azure-core 32 azure-storage-blob 33 boto3 34 google-cloud-storage 35 requests 36 ]; 37 38 checkInputs = [ 39 moto 40 pytestCheckHook 41 ]; 42 43 pytestFlagsArray = [ 44 "smart_open" 45 ]; 46 47 pythonImportsCheck = [ 48 "smart_open" 49 ]; 50 51 meta = with lib; { 52 description = "Library for efficient streaming of very large file"; 53 homepage = "https://github.com/RaRe-Technologies/smart_open"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ jyp ]; 56 }; 57}