mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
0fe845338e
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
38 lines
740 B
Nix
38 lines
740 B
Nix
{
|
|
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 ];
|
|
};
|
|
|
|
}
|