mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 12:23:55 +00:00
11769efa2c
Diff: https://github.com/Schrodinger-Hat/ImageGoNord-pip/compare/refs/tags/v1.1.0...v1.2.0 Changelog: https://github.com/Schroedinger-Hat/ImageGoNord-pip/releases/tag/v1.2.0
53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
ffmpeg-python,
|
|
numpy,
|
|
pillow,
|
|
pypaInstallHook,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
requests,
|
|
setuptoolsBuildHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "image-go-nord";
|
|
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-rPp4QrkbDhrdpfynRUYgxpNgUNxU+3h54Ea7s/+u1kI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pypaInstallHook
|
|
setuptoolsBuildHook
|
|
];
|
|
|
|
dependencies = [
|
|
ffmpeg-python
|
|
numpy
|
|
pillow
|
|
requests
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "ImageGoNord" ];
|
|
|
|
meta = {
|
|
description = "Tool that can convert rgb images to nordtheme palette";
|
|
homepage = "https://github.com/Schrodinger-Hat/ImageGoNord-pip";
|
|
changelog = "https://github.com/Schroedinger-Hat/ImageGoNord-pip/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ kranzes ];
|
|
};
|
|
}
|