My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/watchdog/default.nix

33 lines
721 B

{ stdenv
, buildPythonPackage
, fetchPypi
, argh
, pathtools
, pyyaml
, pkgs
}:
buildPythonPackage rec {
pname = "watchdog";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "965f658d0732de3188211932aeb0bb457587f04f63ab4c1e33eab878e9de961d";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin
[ pkgs.darwin.apple_sdk.frameworks.CoreServices ];
propagatedBuildInputs = [ argh pathtools pyyaml ];
doCheck = false;
meta = with stdenv.lib; {
description = "Python API and shell utilities to monitor file system events";
homepage = https://github.com/gorakhargosh/watchdog;
license = licenses.asl20;
maintainers = with maintainers; [ goibhniu ];
};
}