Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, azure-common 5, cryptography 6, python-dateutil 7, requests 8, isPy3k 9, azure-storage-nspkg 10}: 11 12buildPythonPackage rec { 13 pname = "azure-storage-common"; 14 version = "1.4.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "7ab607f9b8fd27b817482194b1e7d43484c65dcf2605aae21ad8706c6891934d"; 19 }; 20 21 propagatedBuildInputs = [ 22 azure-common 23 cryptography 24 python-dateutil 25 requests 26 ] ++ lib.optional (!isPy3k) azure-storage-nspkg; 27 28 # has no tests 29 doCheck = false; 30 31 meta = with lib; { 32 description = "Client library for Microsoft Azure Storage services containing common code shared by blob, file and queue"; 33 homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-common; 34 license = licenses.mit; 35 maintainers = with maintainers; [ cmcdragonkai ]; 36 }; 37}