2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cryptography,
|
|
|
|
ecdsa,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "3.3.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
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
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
cryptography
|
|
|
|
ecdsa
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "OpenSSH Public Key Parser for Python";
|
|
|
|
homepage = "https://github.com/ojarva/python-sshpubkeys";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|