evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / parse / default.nix
blob76c6fdc51a5da5aa7f1c102f32b55d00f8f49144
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   setuptools,
6   pytestCheckHook,
7 }:
8 buildPythonPackage rec {
9   pname = "parse";
10   version = "1.20.2";
11   format = "pyproject";
13   src = fetchFromGitHub {
14     owner = "r1chardj0n3s";
15     repo = "parse";
16     rev = "refs/tags/${version}";
17     hash = "sha256-i/H3E/Z8vqt2jLS8BaVHJuD2Fbi7TP7EeOjXAJ16bWg=";
18   };
20   postPatch = ''
21     rm .pytest.ini
22   '';
24   nativeBuildInputs = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   meta = with lib; {
29     homepage = "https://github.com/r1chardj0n3s/parse";
30     description = "parse() is the opposite of format()";
31     license = licenses.bsdOriginal;
32     maintainers = with maintainers; [ alunduil ];
33   };