about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pytlv/default.nix
blob: d4381f90442363aba826f2d2c301933ed8adf313 (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
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, setuptools
}:

buildPythonPackage rec {
  pname = "pytlv";
  version = "0.71";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-btxZ0oQzn1ZpwXihHlg6CduLh8nkerLV7SoFyXzJjVY=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  pythonImportsCheck = [ "pytlv" ];

  meta = with lib; {
    description = "TLV (tag length lavue) data parser, especially useful for EMV tags parsing";
    homepage = "https://github.com/timgabets/pytlv";
    license = licenses.lgpl2;
    maintainers = with maintainers; [ flokli janik ];
  };
}