Commit 1c6e127a authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python-xz: refactor

- update disabled
parent 8d8cd198
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -9,18 +9,18 @@
buildPythonPackage rec {
  pname = "python-xz";
  version = "0.5.0";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.6";
  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-oYjwQ26BFFXxvaYdzp2+bw/BQwM0v/n1r9DmaLs1R3Q=";
  };

  nativeBuildInputs = [ setuptools-scm ];
  build-system = [ setuptools-scm ];

  # has no tests
  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "xz" ];
@@ -28,6 +28,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Pure Python library for seeking within compressed xz files";
    homepage = "https://github.com/Rogdham/python-xz";
    changelog = "https://github.com/Rogdham/python-xz/blob/v${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with lib.maintainers; [ mxmlnkn ];
    platforms = platforms.all;