nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 57 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 fetchFromGitHub, 6 more-itertools, 7 pendulum, 8 pyjwt, 9 pytestCheckHook, 10 pytz, 11 requests, 12 responses, 13 setuptools, 14 typing-extensions, 15 zeep, 16}: 17 18buildPythonPackage rec { 19 pname = "simple-salesforce"; 20 version = "1.12.9"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "simple-salesforce"; 25 repo = "simple-salesforce"; 26 tag = "v${version}"; 27 hash = "sha256-eMO/K6W9ROljYxR3gK9QjCHdlbAuN4DYjOyTO1WcalQ="; 28 }; 29 30 nativeBuildInputs = [ setuptools ]; 31 32 propagatedBuildInputs = [ 33 cryptography 34 more-itertools 35 pendulum 36 pyjwt 37 requests 38 typing-extensions 39 zeep 40 ]; 41 42 nativeCheckInputs = [ 43 pytestCheckHook 44 pytz 45 responses 46 ]; 47 48 pythonImportsCheck = [ "simple_salesforce" ]; 49 50 meta = { 51 description = "Very simple Salesforce.com REST API client for Python"; 52 homepage = "https://github.com/simple-salesforce/simple-salesforce"; 53 changelog = "https://github.com/simple-salesforce/simple-salesforce/blob/${src.tag}/CHANGES"; 54 license = lib.licenses.asl20; 55 maintainers = [ ]; 56 }; 57}