mirror of
https://github.com/icewind1991/cynthion-flake.git
synced 2026-06-03 22:34:06 +02:00
init flake
This commit is contained in:
commit
a6d41bbaa3
17 changed files with 623 additions and 0 deletions
18
pkgs/cynthion/udev.nix
Normal file
18
pkgs/cynthion/udev.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
stdenvNoCC,
|
||||
...
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "cynthion-udev";
|
||||
version = "0.1.0";
|
||||
dontBuild = true;
|
||||
dontFixup = true;
|
||||
|
||||
src = import ./src.nix fetchFromGitHub;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/udev/rules.d
|
||||
cp cynthion/python/assets/54-cynthion.rules $out/lib/udev/rules.d/54-cynthion.rules
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue