My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/sgmllib3k/default.nix

41 lines
804 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, pytestCheckHook
, pythonAtLeast
}:
buildPythonPackage rec {
pname = "sgmllib3k";
version = "1.0.0";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "hsoft";
repo = "sgmllib";
rev = "799964676f35349ca2dd04503e34c2b3ad522c0d";
sha256 = "0bzf6pv85dzfxfysm6zbj8m40hp0xzr9h8qlk4hp3nmy88rznqvr";
};
checkInputs = [
pytestCheckHook
];
disabledTests = lib.optionals (pythonAtLeast "3.10") [
"test_declaration_junk_chars"
];
pythonImportsCheck = [
"sgmllib"
];
meta = with lib; {
homepage = "https://pypi.org/project/sgmllib3k/";
description = "Python 3 port of sgmllib";
license = licenses.bsd2;
maintainers = with maintainers; [ lovesegfault ];
};
}