2024-10-20 00:21:05 -07:00

36 lines
818 B
Nix

{ lib, stdenv, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "ftw";
version = "0.0.1";
src = fetchFromGitHub {
owner = "starr-dusT";
repo = "ftw";
rev = "4a4ed10d3913028e2d97e9ab079401b8e948e088";
sha256 = "sha256-Gxt895JQAopfdQ0XawKnZP06Wy4KJQhsbH4Aa8+ZSS4=";
};
format = "pyproject";
propagatedBuildInputs = with python3Packages; [
numpy
wand
setuptools
];
# There are no tests
doCheck = false;
postInstall = ''
cp -R "$src/ftw/res" "$out/lib/python3.12/site-packages/ftw"
'';
meta = with lib; {
homepage = "https://github.com/starr-dusT/ftw";
description = "Build custom ftl wallpapers in a complicated way for no reason";
mainProgram = "ftw";
maintainers = [ maintainers.starr-dusT ];
};
}