mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
0215034f25
when they already rely on SRI hashes.
33 lines
607 B
Nix
33 lines
607 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, anyio
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "watchgod";
|
|
version = "0.8.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-yxH/ZmV777qU2CjjtiLV+3byL72hN281Xz5uUel9lFA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
anyio
|
|
];
|
|
|
|
# no tests in release
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "watchgod" ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple, modern file watching and code reload in python";
|
|
homepage = "https://github.com/samuelcolvin/watchgod";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ globin ];
|
|
};
|
|
|
|
}
|