depot/third_party/nixpkgs/pkgs/development/python-modules/parse/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

32 lines
671 B
Nix

{ lib, fetchFromGitHub
, buildPythonPackage
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "parse";
version = "1.19.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "r1chardj0n3s";
repo = "parse";
rev = "refs/tags/${version}";
hash = "sha256-f08SlkGnwhSh0ajTKFqBAGGFvLj8nWBZVb6uClbRaP4=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/r1chardj0n3s/parse";
description = "parse() is the opposite of format()";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ alunduil ];
};
}