python3Packages.smartypants: 2.0.1 -> 2.0.2

Diff: https://github.com/leohemsted/smartypants.py/compare/refs/tags/v2.0.1...refs/tags/v2.0.2

Changelog: https://github.com/leohemsted/smartypants.py/blob/v2.0.2/CHANGES.rst

Changed files
+6 -16
pkgs
development
python-modules
smartypants
+6 -16
pkgs/development/python-modules/smartypants/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
-
fetchpatch2,
isPyPy,
setuptools,
docutils,
···
buildPythonPackage rec {
pname = "smartypants";
-
version = "2.0.1";
+
version = "2.0.2";
pyproject = true;
disabled = isPyPy;
···
owner = "leohemsted";
repo = "smartypants.py";
tag = "v${version}";
-
hash = "sha256-V1rV1B8jVADkS0NhnDkoVz8xxkqrsIHb1mP9m5Z94QI=";
+
hash = "sha256-jSGiT36Rr0P6eEWZIHtMj4go3KGDRaF2spLxLNruDec=";
};
-
patches = [
-
(fetchpatch2 {
-
# https://github.com/leohemsted/smartypants.py/pull/21
-
name = "smartypants-3.12-compat.patch";
-
url = "https://github.com/leohemsted/smartypants.py/commit/ea46bf36343044a7a61ba3acce4a7f188d986ec5.patch";
-
hash = "sha256-9lsiiZKFFKHLy7j3y9ff4gt01szY+2AHpWPAKQgKwZg=";
-
})
-
];
-
build-system = [ setuptools ];
nativeCheckInputs = [
···
patchShebangs smartypants
'';
-
meta = with lib; {
-
description = "Python with the SmartyPants";
+
meta = {
+
description = "Translate plain ASCII quotation marks and other characters into “smart” typographic HTML entities";
homepage = "https://github.com/leohemsted/smartypants.py";
changelog = "https://github.com/leohemsted/smartypants.py/blob/v${version}/CHANGES.rst";
-
license = licenses.bsd3;
-
maintainers = with maintainers; [ dotlambda ];
+
license = lib.licenses.bsd3;
+
maintainers = with lib.maintainers; [ dotlambda ];
mainProgram = "smartypants";
};
}