depot/third_party/nixpkgs/pkgs/development/python-modules/paragraphs/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

42 lines
788 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools-scm,
setuptools,
}:
buildPythonPackage rec {
pname = "paragraphs";
version = "1.0.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ShayHill";
repo = "paragraphs";
rev = "refs/tags/${version}";
hash = "sha256-u5/oNOCLdvfQVEIEpraeNLjTUoh3eJQ6qSExnkzTmNw=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"paragraphs"
];
meta = {
description = "Module to incorporate long strings";
homepage = "https://github.com/ShayHill/paragraphs";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}