biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / boilerpy3 / default.nix
blob47afb1abe6b943b131e3d304ce1eb8761136cec6
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6 }:
8 let
9   pname = "boilerpy3";
10   version = "1.0.7";
12 buildPythonPackage {
13   inherit pname version;
14   format = "setuptools";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "jmriebold";
20     repo = "BoilerPy3";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-dhAB0VbBGsSrgYGUlZEYaKA6sQB/f9Bb3alsRuQ8opo=";
23   };
25   postPatch = ''
26     # the version mangling in mautrix_signal/get_version.py interacts badly with pythonRelaxDepsHook
27     substituteInPlace setup.py \
28       --replace '>=3.6.*' '>=3.6'
29   '';
31   pythonImportsCheck = [ "boilerpy3" ];
33   meta = with lib; {
34     homepage = "https://github.com/jmriebold/BoilerPy3";
35     description = "Python port of Boilerpipe library";
36     changelog = "https://github.com/jmriebold/BoilerPy3/releases/tag/v${version}";
37     license = licenses.asl20;
38     maintainers = with maintainers; [ happysalada ];
39   };