nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 49 lines 903 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, click 6, click-default-group 7, boto3 8, pytestCheckHook 9, hypothesis 10, pytest-mock 11}: 12 13buildPythonPackage rec { 14 pname = "s3-credentials"; 15 version = "0.11"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "simonw"; 22 repo = pname; 23 rev = version; 24 hash = "sha256-t6Q+/2k93cEk+eeFm9aOvZNb1IcUzt66iApfH2FvHbw="; 25 }; 26 27 propagatedBuildInputs = [ 28 click 29 click-default-group 30 boto3 31 ]; 32 33 checkInputs = [ 34 pytestCheckHook 35 hypothesis 36 pytest-mock 37 ]; 38 39 pythonImportsCheck = [ 40 "s3_credentials" 41 ]; 42 43 meta = with lib; { 44 description = "Python CLI utility for creating credentials for accessing S3 buckets"; 45 homepage = "https://github.com/simonw/s3-credentials"; 46 license = licenses.asl20; 47 maintainers = with maintainers; [ techknowlogick ]; 48 }; 49}