mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-13 08:17:31 -08:00
add ftw to config
This commit is contained in:
parent
0a98774112
commit
4ac287d887
@ -36,6 +36,7 @@ in {
|
||||
gnome-fullscreen-to-empty-workspace
|
||||
gnome-set-panel-monitor
|
||||
gnome-randr
|
||||
ftw
|
||||
];
|
||||
|
||||
environment.gnome.excludePackages = with pkgs; [
|
||||
|
@ -9,4 +9,5 @@ final: prev: {
|
||||
gnome-fullscreen-to-empty-workspace = final.callPackage ../pkgs/gnome-fullscreen-to-empty-workspace.nix {};
|
||||
ryujinx = final.callPackage ../pkgs/ryujinx/default.nix {};
|
||||
pySVS = final.callPackage ../pkgs/pySVS.nix {};
|
||||
ftw = final.callPackage ../pkgs/ftw.nix {};
|
||||
}
|
||||
|
35
provision/pkgs/ftw.nix
Normal file
35
provision/pkgs/ftw.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user