Files
nixpkgs/pkgs/development/python-modules/stone/default.nix
Martin Weinelt 4fc84852b1 python3Packages.stone: 3.3.8 -> 3.3.9
https://github.com/dropbox/stone/releases/tag/v3.3.9

This commit was automatically generated using update-python-libraries.
2025-08-09 19:04:22 +02:00

59 lines
1.0 KiB
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
jinja2,
mock,
packaging,
ply,
pytestCheckHook,
pythonOlder,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "stone";
version = "3.3.9";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "dropbox";
repo = "stone";
tag = "v${version}";
hash = "sha256-3tUV2JrE3S2Tj/9aHvzfBTkIWUmWzkWNsVLr5yWRE/Q=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail "'pytest-runner == 5.3.2'," ""
'';
build-system = [ setuptools ];
dependencies = [
jinja2
ply
six
packaging
];
nativeCheckInputs = [
pytestCheckHook
mock
];
pythonImportsCheck = [ "stone" ];
meta = with lib; {
description = "Official API Spec Language for Dropbox API V2";
homepage = "https://github.com/dropbox/stone";
changelog = "https://github.com/dropbox/stone/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = [ ];
mainProgram = "stone";
};
}