pythonPackages.senf: init at 1.5.0
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
parent
784c1f4100
commit
0fe845338e
37
pkgs/development/python-modules/senf/default.nix
Normal file
37
pkgs/development/python-modules/senf/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -14228,6 +14228,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
sendgrid = callPackage ../development/python-modules/sendgrid { };
|
sendgrid = callPackage ../development/python-modules/sendgrid { };
|
||||||
|
|
||||||
|
senf = callPackage ../development/python-modules/senf { };
|
||||||
|
|
||||||
sense-energy = callPackage ../development/python-modules/sense-energy { };
|
sense-energy = callPackage ../development/python-modules/sense-energy { };
|
||||||
|
|
||||||
sensirion-ble = callPackage ../development/python-modules/sensirion-ble { };
|
sensirion-ble = callPackage ../development/python-modules/sensirion-ble { };
|
||||||
|
Loading…
Reference in New Issue
Block a user