update flake
This commit is contained in:
parent
b9b3f6ee48
commit
def9dc0b3d
2 changed files with 7 additions and 22 deletions
15
flake.nix
15
flake.nix
|
|
@ -1,46 +1,32 @@
|
|||
{
|
||||
description = "A simple command line frontend for OpenRazer";
|
||||
|
||||
nixConfig.bash-prompt = "\[\\e[1m\\e[32mrzr-develop\\e[0m\]$ ";
|
||||
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
|
||||
flake-utils.lib.eachDefaultSystem
|
||||
(system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
|
||||
# Package
|
||||
|
||||
packages.rzr =
|
||||
|
||||
pkgs.python3Packages.buildPythonApplication rec {
|
||||
|
||||
name = "rzr";
|
||||
src = self;
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with pkgs; [
|
||||
python3Packages.colour
|
||||
python3Packages.openrazer
|
||||
python3Packages.toml
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
defaultPackage = self.packages.${system}.rzr;
|
||||
|
||||
# Development shell
|
||||
|
||||
devShell = pkgs.mkShell {
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
python3
|
||||
python3Packages.colour
|
||||
|
|
@ -50,7 +36,6 @@
|
|||
python3Packages.toml
|
||||
python3Packages.virtualenv
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue