update flake and setup scheme
This commit is contained in:
parent
25ef32dbbb
commit
94b8d29d43
21
flake.nix
21
flake.nix
@ -1,7 +1,7 @@
|
||||
{
|
||||
description = "A colorful wallpaper generator";
|
||||
|
||||
nixConfig.bash-prompt = "\[\\e[1m\\e[34mhuepaper-develop\\e[0m\]$ ";
|
||||
nixConfig.bash-prompt = "\[\\e[1m\\e[34mhuepaper-dev\\e[0m:\\w\]$ ";
|
||||
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
|
||||
@ -15,31 +15,26 @@
|
||||
{
|
||||
|
||||
# Package
|
||||
|
||||
packages.huepaper =
|
||||
|
||||
pkgs.python3Packages.buildPythonPackage rec {
|
||||
|
||||
name = "huepaper";
|
||||
src = self;
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with pkgs; [
|
||||
python3Packages.colour
|
||||
python3Packages.pillow
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
defaultPackage = self.packages.${system}.huepaper;
|
||||
|
||||
# App
|
||||
apps.huepaper = {
|
||||
type = "app";
|
||||
program = "${self.packages.${system}.huepaper}/bin/huepaper";
|
||||
};
|
||||
defaultApp = self.apps.${system}.huepaper;
|
||||
|
||||
# Development shell
|
||||
|
||||
devShell = pkgs.mkShell {
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
python3
|
||||
python3Packages.colour
|
||||
|
@ -10,7 +10,6 @@ from huepaper import (
|
||||
save_image,
|
||||
)
|
||||
import argparse
|
||||
import os.path
|
||||
|
||||
|
||||
def print_greeter():
|
Loading…
Reference in New Issue
Block a user