Loading pkgs/development/python-modules/cynthion/default.nix +10 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ # tests pytestCheckHook, udevCheckHook, }: buildPythonPackage rec { pname = "cynthion"; Loading @@ -44,6 +45,8 @@ buildPythonPackage rec { --replace-fail 'dynamic = ["version"]' 'version = "${version}"' ''; nativeBuildInputs = [ udevCheckHook ]; build-system = [ setuptools ]; Loading Loading @@ -72,6 +75,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "cynthion" ]; # Make udev rules available for NixOS option services.udev.packages postInstall = '' install -Dm444 \ -t $out/lib/udev/rules.d \ build/lib/cynthion/assets/54-cynthion.rules ''; meta = { description = "Python package and utilities for the Great Scott Gadgets Cynthion USB Test Instrument"; homepage = "https://github.com/greatscottgadgets/cynthion"; Loading Loading
pkgs/development/python-modules/cynthion/default.nix +10 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ # tests pytestCheckHook, udevCheckHook, }: buildPythonPackage rec { pname = "cynthion"; Loading @@ -44,6 +45,8 @@ buildPythonPackage rec { --replace-fail 'dynamic = ["version"]' 'version = "${version}"' ''; nativeBuildInputs = [ udevCheckHook ]; build-system = [ setuptools ]; Loading Loading @@ -72,6 +75,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "cynthion" ]; # Make udev rules available for NixOS option services.udev.packages postInstall = '' install -Dm444 \ -t $out/lib/udev/rules.d \ build/lib/cynthion/assets/54-cynthion.rules ''; meta = { description = "Python package and utilities for the Great Scott Gadgets Cynthion USB Test Instrument"; homepage = "https://github.com/greatscottgadgets/cynthion"; Loading