depot/third_party/nixpkgs/pkgs/development/python-modules/pysignalclirestapi/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

43 lines
900 B
Nix

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