mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
38 lines
681 B
Nix
38 lines
681 B
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "wyoming-piper";
|
|
version = "1.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "wyoming_piper";
|
|
inherit version;
|
|
hash = "sha256-cdCWpejHNCjyYtIxGms9yaEerRmFnGllUN7+3uQy4mQ=";
|
|
};
|
|
|
|
patches = [
|
|
./piper-entrypoint.patch
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
wyoming
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"wyoming_piper"
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Wyoming Server for Piper";
|
|
homepage = "https://pypi.org/project/wyoming-piper/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|