summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylzma/default.nix
blob: 78bc24d35d4643a632352b48b2acc8868d0ce5cc (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
{ lib, buildPythonPackage, fetchPypi }:

buildPythonPackage rec {
  pname = "pylzma";
  version = "0.5.0";

  # This vendors an old LZMA SDK
  # After some discussion, it seemed most reasonable to keep it that way
  # xz, and uefi-firmware-parser also does this
  src = fetchPypi {
    inherit pname version;
    sha256 = "074anvhyjgsv2iby2ql1ixfvjgmhnvcwjbdz8gk70xzkzcm1fx5q";
  };

  pythonImportsCheck = [ "pylzma" ];

  meta = with lib; {
    homepage = "https://www.joachim-bauch.de/projects/pylzma/";
    description = "Platform independent python bindings for the LZMA compression library";
    license = licenses.lgpl21Only;
    maintainers = with maintainers; [ dandellion ];
  };
}