depot/third_party/nixpkgs/pkgs/development/python-modules/lockfile/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

34 lines
627 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pbr,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "lockfile";
version = "0.12.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-au0C3gPLok76vNYAswVAFAY0/AbPpgOCLVCNU2Hp95k=";
};
patches = [ ./fix-tests.patch ];
build-system = [
pbr
setuptools
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
homepage = "https://launchpad.net/pylockfile";
description = "Platform-independent advisory file locking capability for Python applications";
license = lib.licenses.asl20;
};
}