depot/third_party/nixpkgs/pkgs/development/tools/misc/catppuccin-catwalk/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

41 lines
846 B
Nix

{ lib
, fetchPypi
, python3
,
}:
python3.pkgs.buildPythonApplication rec {
pname = "catppuccin-catwalk";
version = "0.4.0";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "catppuccin_catwalk";
hash = "sha256-5TAw5H3soxe9vLhfj1qs8uMr4ybrHlCj4zdsMzvPo6s=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'Pillow = "^' 'Pillow = ">='
'';
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
pillow
];
pythonImports = [
"catwalk"
];
meta = with lib; {
homepage = "https://github.com/catppuccin/toolbox";
description = "A CLI for Catppuccin that takes in four showcase images and displays them all at once";
license = licenses.mit;
maintainers = with maintainers; [ ryanccn ];
};
}