nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 806 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 cryptography, 7}: 8 9buildPythonPackage rec { 10 version = "3.3.1"; 11 pname = "sshpubkeys"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "ojarva"; 16 repo = "python-sshpubkeys"; 17 # https://github.com/ojarva/python-sshpubkeys/issues/94 18 tag = "v3.2.0"; 19 hash = "sha256-2OJatnQuCt9XQ797F5nEmgEZl5/tu9lrAry5yBGW61g="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 cryptography 26 ]; 27 28 pythonImportsCheck = [ "sshpubkeys" ]; 29 30 meta = { 31 changelog = "https://github.com/ojarva/python-sshpubkeys/releases/tag/${src.tag}"; 32 description = "OpenSSH Public Key Parser for Python"; 33 homepage = "https://github.com/ojarva/python-sshpubkeys"; 34 license = lib.licenses.bsd3; 35 maintainers = [ ]; 36 }; 37}