depot/third_party/nixpkgs/pkgs/development/python-modules/pysignalclirestapi/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

42 lines
800 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, requests
, future
}:
buildPythonPackage rec {
pname = "pysignalclirestapi";
version = "0.3.21";
pyproject = true;
src = fetchFromGitHub {
owner = "bbernhard";
repo = "pysignalclirestapi";
rev = version;
hash = "sha256-CAZ6UgGz7ZDXlQlngi+hEhczOphvAT/Yl9vLqnrS1Qc=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
requests
future
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "pysignalclirestapi" ];
meta = with lib; {
description = "Small python library for the Signal Cli REST API";
homepage = "https://github.com/bbernhard/pysignalclirestapi";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}