Unverified Commit cc72b4f9 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #320527 from GaetanLepage/color-operations

python311Packages.color-operations: 0.1.3 -> 0.1.4
parents 7ec44014 235c5134
Loading
Loading
Loading
Loading
+15 −8
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  pythonOlder,
  fetchFromGitHub,

  colormath,
  # build-system
  cython,
  oldest-supported-numpy,
  setuptools,

  # dependencies
  numpy,

  # checks
  colormath,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "color-operations";
  version = "0.1.3";
  version = "0.1.4";
  pyproject = true;
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "vincentsarago";
    repo = "color-operations";
    rev = version;
    hash = "sha256-KsrgilcNK2ufPKrhtGdf8mdlFzhsHB2jHN+WDlZqabc=";
    rev = "refs/tags/${version}";
    hash = "sha256-qqOTmVYD3VfjeVJtYvDQw+cxjcTsmqTYQNL1qMX+fL4=";
  };

  nativeBuildInputs = [
  build-system = [
    cython
    oldest-supported-numpy
    setuptools
  ];

  propagatedBuildInputs = [ oldest-supported-numpy ];
  dependencies = [ numpy ];

  nativeCheckInputs = [
    colormath