depot/third_party/nixpkgs/pkgs/development/python-modules/sgmllib3k/default.nix
Default email b55a4ee46f Project import generated by Copybara.
GitOrigin-RevId: e9158eca70ae59e73fae23be5d13d3fa0cfc78b4
2020-12-09 13:39:15 +01:00

27 lines
622 B
Nix

{ stdenv
, buildPythonPackage
, fetchFromGitHub
, isPy27
, lib
}:
buildPythonPackage rec {
pname = "sgmllib3k";
version = "1.0.0";
disabled = isPy27;
# fetchFromGitHub instead of fetchPypi to run tests.
src = fetchFromGitHub {
owner = "hsoft";
repo = "sgmllib";
rev = "799964676f35349ca2dd04503e34c2b3ad522c0d";
sha256 = "0bzf6pv85dzfxfysm6zbj8m40hp0xzr9h8qlk4hp3nmy88rznqvr";
};
meta = with lib; {
homepage = "https://pypi.org/project/sgmllib3k/";
description = "Python 3 port of sgmllib";
license = licenses.bsd2;
maintainers = with maintainers; [ lovesegfault ];
};
}