Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ 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"; tag = "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 ]; };}