Merge pull request #331635 from dlsf/mokuro

mokuro: 0.1.8 -> 0.2.1
This commit is contained in:
éclairevoyant 2024-08-11 01:49:57 +00:00 committed by GitHub
commit 1c8d2e0713
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,26 +6,26 @@
python3Packages.buildPythonApplication rec {
pname = "mokuro";
version = "0.1.8";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "kha-white";
repo = "mokuro";
rev = "v${version}";
hash = "sha256-w+hhUt2fTl9zrca4xotK5eNhbfragYNC0u5WDwNGb7k=";
hash = "sha256-+hcc3spbpktavqJ8q4kuQFpkm0PYIru6UdpkU7L8XI4=";
fetchSubmodules = true;
};
postPatch = ''
substituteInPlace setup.py \
substituteInPlace pyproject.toml \
--replace-fail 'opencv-python' 'opencv'
'';
pythonRelaxDeps = [ "torchvision" ];
build-system = with python3Packages; [ setuptools ];
build-system = with python3Packages; [ setuptools-scm ];
dependencies = with python3Packages; [
fire