about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyjks/default.nix
blob: 9b63d5a8f619835d1b5410a90a5831592ad08728 (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
26
27
28
29
30
31
32
33
34
35
36
37
{
  buildPythonPackage,
  fetchPypi,
  lib,

  # pythonPackages
  pyasn1-modules,
  pycryptodomex,
  twofish,
}:

buildPythonPackage rec {
  pname = "pyjks";
  version = "20.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0378cec15fb11b2ed27ba54dad9fd987d48e6f62f49fcff138f5f7a8b312b044";
  };

  propagatedBuildInputs = [
    pyasn1-modules
    pycryptodomex
    twofish
  ];

  # Tests assume network connectivity
  doCheck = false;

  meta = {
    description = "Pure-Python Java Keystore (JKS) library";
    homepage = "https://github.com/kurtbrose/pyjks";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ kamadorueda ];
  };
}