mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
python312Packages.image-go-nord: 1.1.0 -> 1.2.0; fix build (#352473)
This commit is contained in:
@@ -2,32 +2,51 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
ffmpeg-python,
|
||||
numpy,
|
||||
pillow,
|
||||
pypaInstallHook,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptoolsBuildHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "image-go-nord";
|
||||
version = "1.1.0";
|
||||
format = "setuptools";
|
||||
version = "1.2.0";
|
||||
pyproject = false;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Schrodinger-Hat";
|
||||
repo = "ImageGoNord-pip";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2Dnl0dcdMo4PnhHTb/5cJ7C0CvW84av4CCbrTLPqopg=";
|
||||
hash = "sha256-rPp4QrkbDhrdpfynRUYgxpNgUNxU+3h54Ea7s/+u1kI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pillow ];
|
||||
nativeBuildInputs = [
|
||||
pypaInstallHook
|
||||
setuptoolsBuildHook
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
ffmpeg-python
|
||||
numpy
|
||||
pillow
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
pythonImportsCheck = [ "ImageGoNord" ];
|
||||
|
||||
meta = {
|
||||
description = "Tool that can convert rgb images to nordtheme palette";
|
||||
homepage = "https://github.com/Schrodinger-Hat/ImageGoNord-pip";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kranzes ];
|
||||
changelog = "https://github.com/Schroedinger-Hat/ImageGoNord-pip/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ kranzes ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user