2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub
|
|
|
|
, cryptography
|
|
|
|
, ecdsa
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "3.3.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "sshpubkeys";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ojarva";
|
|
|
|
repo = "python-${pname}";
|
2021-04-26 19:14:03 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1qsixmqg97kyvg1naw76blq4314vaw4hl5f9wi0v111mcmdia1r4";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cryptography ecdsa ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "OpenSSH Public Key Parser for Python";
|
|
|
|
homepage = "https://github.com/ojarva/python-sshpubkeys";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|