Commit 0fe84533 authored by Cabia Rangris's avatar Cabia Rangris Committed by Cabia Rangris
Browse files

pythonPackages.senf: init at 1.5.0

parent 784c1f41
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fetchPypi,
  lib,
  hypothesis,
  pytestCheckHook,
}:
buildPythonPackage rec {
  pname = "senf";
  version = "1.5.0";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-kFlFEOqYVBM47YWmwUOPuiCqoqSW+I3y0tNlSFZjjNE=";
  };

  nativeCheckInputs = [
    hypothesis
    pytestCheckHook
  ];

  disabledTests = [
    # Both don't work even with HOME specified...
    "test_getuserdir"
    "test_expanduser_user"
  ];

  pythonImportsCheck = [ "senf" ];

  meta = with lib; {
    description = "Consistent filename handling for all Python versions and platforms";
    homepage = "https://senf.readthedocs.io/en/latest/";
    license = licenses.mit;
    maintainers = with maintainers; [ cab404 ];
  };

}
+2 −0
Original line number Diff line number Diff line
@@ -14228,6 +14228,8 @@ self: super: with self; {
  sendgrid = callPackage ../development/python-modules/sendgrid { };
  senf = callPackage ../development/python-modules/senf { };
  sense-energy = callPackage ../development/python-modules/sense-energy { };
  sensirion-ble = callPackage ../development/python-modules/sensirion-ble { };