polarity: latest-unstable-2025-01-08 -> latest-unstable-2025-01-23 (#376222)
[NixPkgs.git] / pkgs / development / python-modules / parse / default.nix
blob4cc83d5879f07911066101c98e1e279a37e38cfa
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     tag = 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   };