Loading maintainers/maintainer-list.nix +9 −0 Original line number Diff line number Diff line Loading @@ -12615,6 +12615,15 @@ githubId = 1024891; name = "Jens Nolte"; }; quentin = { email = "quentin@mit.edu"; github = "quentinmit"; githubId = 115761; name = "Quentin Smith"; keys = [{ fingerprint = "1C71 A066 5400 AACD 142E B1A0 04EE 05A8 FCEF B697"; }]; }; quentini = { email = "quentini@airmail.cc"; github = "QuentinI"; Loading pkgs/development/python-modules/w1thermsensor/default.nix 0 → 100644 +70 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , pkgs , setuptools , aiofiles , click , coverage , tomli , pytest , pytest-mock , pytest-asyncio , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "w1thermsensor"; version = "2.0.0"; format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-EcaEr4B8icbwZu2Ty3z8AAgglf74iZ5BLpLnSOZC2cE="; }; postPatch = '' sed -i 's/3\.5\.\*/3.5/' setup.py ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ aiofiles click ]; # Don't try to load the kernel module in tests. env.W1THERMSENSOR_NO_KERNEL_MODULE = 1; nativeCheckInputs = [ pytest-mock pytest-asyncio pytestCheckHook ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; # Tests for 2.0.0 currently fail on python3.11 # https://github.com/timofurrer/w1thermsensor/issues/116 doCheck = pythonOlder "3.11"; pythonImportsCheck = [ "w1thermsensor" ]; meta = with lib; { description = "Python interface to 1-Wire temperature sensors"; longDescription = '' A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices. ''; homepage = "https://github.com/timofurrer/w1thermsensor"; license = licenses.mit; maintainers = with maintainers; [ quentin ]; platforms = platforms.all; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12489,6 +12489,8 @@ self: super: with self; { vyper = callPackage ../development/compilers/vyper { }; w1thermsensor = callPackage ../development/python-modules/w1thermsensor { }; w3lib = callPackage ../development/python-modules/w3lib { }; wadllib = callPackage ../development/python-modules/wadllib { }; Loading Loading
maintainers/maintainer-list.nix +9 −0 Original line number Diff line number Diff line Loading @@ -12615,6 +12615,15 @@ githubId = 1024891; name = "Jens Nolte"; }; quentin = { email = "quentin@mit.edu"; github = "quentinmit"; githubId = 115761; name = "Quentin Smith"; keys = [{ fingerprint = "1C71 A066 5400 AACD 142E B1A0 04EE 05A8 FCEF B697"; }]; }; quentini = { email = "quentini@airmail.cc"; github = "QuentinI"; Loading
pkgs/development/python-modules/w1thermsensor/default.nix 0 → 100644 +70 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , pkgs , setuptools , aiofiles , click , coverage , tomli , pytest , pytest-mock , pytest-asyncio , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "w1thermsensor"; version = "2.0.0"; format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-EcaEr4B8icbwZu2Ty3z8AAgglf74iZ5BLpLnSOZC2cE="; }; postPatch = '' sed -i 's/3\.5\.\*/3.5/' setup.py ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ aiofiles click ]; # Don't try to load the kernel module in tests. env.W1THERMSENSOR_NO_KERNEL_MODULE = 1; nativeCheckInputs = [ pytest-mock pytest-asyncio pytestCheckHook ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; # Tests for 2.0.0 currently fail on python3.11 # https://github.com/timofurrer/w1thermsensor/issues/116 doCheck = pythonOlder "3.11"; pythonImportsCheck = [ "w1thermsensor" ]; meta = with lib; { description = "Python interface to 1-Wire temperature sensors"; longDescription = '' A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices. ''; homepage = "https://github.com/timofurrer/w1thermsensor"; license = licenses.mit; maintainers = with maintainers; [ quentin ]; platforms = platforms.all; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12489,6 +12489,8 @@ self: super: with self; { vyper = callPackage ../development/compilers/vyper { }; w1thermsensor = callPackage ../development/python-modules/w1thermsensor { }; w3lib = callPackage ../development/python-modules/w3lib { }; wadllib = callPackage ../development/python-modules/wadllib { }; Loading