13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
46 lines
798 B
Nix
46 lines
798 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, aiofiles
|
|
, aiohttp
|
|
, click-log
|
|
, emoji
|
|
, glom
|
|
, jinja2
|
|
, pyyaml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dinghy";
|
|
version = "0.13.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nedbat";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-uRiWcrs3xIb6zxNg0d6/+NCqnEgadHSTLpS53CoZ5so=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiofiles
|
|
aiohttp
|
|
click-log
|
|
emoji
|
|
glom
|
|
jinja2
|
|
pyyaml
|
|
];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "dinghy.cli" ];
|
|
|
|
meta = with lib; {
|
|
description = "A GitHub activity digest tool";
|
|
homepage = "https://github.com/nedbat/dinghy";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ trundle veehaitch ];
|
|
};
|
|
}
|