parent
6bba9428d9
commit
5a93edc108
@ -6,8 +6,9 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
# In NixOS, simply add the `udev` multiple output to services.udev.packages:
|
# In NixOS, add the package to services.udev.packages for non-root plugdev
|
||||||
# services.udev.packages = [ pkgs.python3Packages.seabreeze.udev ];
|
# users to get device access permission:
|
||||||
|
# services.udev.packages = [ pkgs.python3Packages.seabreeze ];
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "seabreeze";
|
pname = "seabreeze";
|
||||||
@ -20,11 +21,9 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0bc2s9ic77gz9m40w89snixphxlzib60xa4f49n4zasjrddfz1l8";
|
sha256 = "0bc2s9ic77gz9m40w89snixphxlzib60xa4f49n4zasjrddfz1l8";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "udev" ];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $udev/lib/udev/rules.d
|
mkdir -p $out/etc/udev/rules.d
|
||||||
cp misc/10-oceanoptics.rules $udev/lib/udev/rules.d/10-oceanoptics.rules
|
cp misc/10-oceanoptics.rules $out/etc/udev/rules.d/10-oceanoptics.rules
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# underlying c libraries are tested and fail
|
# underlying c libraries are tested and fail
|
||||||
|
Loading…
Reference in New Issue
Block a user