1{ lib, buildPythonPackage, fetchFromGitHub
2, cryptography
3, ecdsa
4}:
5
6buildPythonPackage rec {
7 version = "3.1.0";
8 pname = "sshpubkeys";
9
10 src = fetchFromGitHub {
11 owner = "ojarva";
12 repo = "python-${pname}";
13 rev = "v${version}";
14 sha256 = "1h4gwmcfn84kkqh83km1vfz8sc5kr2g4gzgzmr8gz704jmqiv7nq";
15 };
16
17 propagatedBuildInputs = [ cryptography ecdsa ];
18
19 meta = with lib; {
20 description = "OpenSSH Public Key Parser for Python";
21 homepage = "https://github.com/ojarva/python-sshpubkeys";
22 license = licenses.bsd3;
23 maintainers = [ ];
24 };
25}