summary refs log tree commit diff
path: root/pkgs/development/python-modules/sshpubkeys/default.nix
blob: aefb4bd4d4b16936def0f59d1f28c800bf805174 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchFromGitHub
, cryptography
, ecdsa
}:

buildPythonPackage rec {
  version = "3.1.0";
  pname = "sshpubkeys";

  src = fetchFromGitHub {
    owner = "ojarva";
    repo = "python-${pname}";
    rev = "v${version}";
    sha256 = "1h4gwmcfn84kkqh83km1vfz8sc5kr2g4gzgzmr8gz704jmqiv7nq";
  };

  propagatedBuildInputs = [ cryptography ecdsa ];

  meta = with lib; {
    description = "OpenSSH Public Key Parser for Python";
    homepage = https://github.com/ojarva/python-sshpubkeys;
    license = licenses.bsd3;
    maintainers = [ ];
  };
}