Files
nixpkgs/pkgs/development/python-modules/pywatchman/default.nix
Martin Weinelt 40a02cba63 python3Packages.pywatchman: 2.0.0 -> 3.0.0
This commit was automatically generated using update-python-libraries.
2025-08-09 19:03:55 +02:00

32 lines
608 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
watchman,
}:
buildPythonPackage rec {
pname = "pywatchman";
version = "3.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-79MqFzkaWHIRjFUEHacaIJYORrpLc0QMJO+sKH7qkR4=";
};
postPatch = ''
substituteInPlace pywatchman/__init__.py \
--replace "'watchman'" "'${watchman}/bin/watchman'"
'';
# No tests in archive
doCheck = false;
meta = with lib; {
description = "Watchman client for Python";
homepage = "https://facebook.github.io/watchman/";
license = licenses.bsd3;
};
}