depot/third_party/nixpkgs/pkgs/development/python-modules/pysignalclirestapi/default.nix

44 lines
900 B
Nix
Raw Normal View History

{ 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 ];
};
}