mirror of
https://github.com/icewind1991/cynthion-flake.git
synced 2026-06-03 14:24:07 +02:00
18 lines
353 B
Nix
18 lines
353 B
Nix
{
|
|
fetchFromGitHub,
|
|
stdenvNoCC,
|
|
...
|
|
}:
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "cynthion-udev";
|
|
version = "0.1.2";
|
|
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
|
|
'';
|
|
}
|