mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-24 13:22:23 +00:00
Add liquidctl nix module
This commit is contained in:
parent
797e424adf
commit
1a1ef26924
3 changed files with 14 additions and 0 deletions
|
@ -30,6 +30,7 @@ in
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
elkowar_local.bashtop
|
elkowar_local.bashtop
|
||||||
|
elkowar_local.liquidctl
|
||||||
direnv
|
direnv
|
||||||
rnix-lsp
|
rnix-lsp
|
||||||
nix-prefetch-git
|
nix-prefetch-git
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
{
|
{
|
||||||
bashtop = pkgs.callPackage ./packages/bashtop.nix {};
|
bashtop = pkgs.callPackage ./packages/bashtop.nix {};
|
||||||
|
liquidctl = pkgs.callPackage ./packages/liquidctl.nix {};
|
||||||
}
|
}
|
||||||
|
|
12
files/nix-stuff/nixpkgs/local/packages/liquidctl.nix
Normal file
12
files/nix-stuff/nixpkgs/local/packages/liquidctl.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
with pkgs; python38.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "liquidctl";
|
||||||
|
version = "1.4.1";
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python38.pkgs; [ pyusb docopt hidapi ];
|
||||||
|
src = python38.pkgs.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "13gzfanxdrn45cwz9mm1j7jxxpwmdvz02i122ibimrzkndjvr8sr";
|
||||||
|
};
|
||||||
|
doCheck = false;
|
||||||
|
}
|
Loading…
Reference in a new issue