Unverified Commit 1d62ec32 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python310Packages.pyipp: 0.12.1 -> 0.13.0

parent 507f9c4d
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@

buildPythonPackage rec {
  pname = "pyipp";
  version = "0.12.1";
  version = "0.13.0";
  format = "pyproject";

  disabled = pythonOlder "3.9";
@@ -24,9 +24,15 @@ buildPythonPackage rec {
   owner = "ctalkington";
   repo = "python-ipp";
   rev = version;
   hash = "sha256-xTSi5Eh6vVuQ+Kr/oVMlh5YcckVRsfTUgdmGHndmX+Q=";
   hash = "sha256-lVpXtPxZZCyWycmkXZTMo5WTPtlehNY5IX7tiyIb1uM=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'version = "0.0.0"' 'version = "${version}"' \
      --replace "--cov" ""
  '';

  nativeBuildInputs = [
    poetry-core
  ];
@@ -45,17 +51,14 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'version = "0.0.0"' 'version = "${version}"' \
      --replace " --cov" ""
  '';
  __darwinAllowLocalNetworking = true;

  pythonImportsCheck = [
    "pyipp"
  ];

  meta = with lib; {
    changelog = "https://github.com/ctalkington/python-ipp/releases/tag/${version}";
    description = "Asynchronous Python client for Internet Printing Protocol (IPP)";
    homepage = "https://github.com/ctalkington/python-ipp";
    license = licenses.mit;