2022-08-21 13:32:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
2022-10-21 18:38:19 +00:00
|
|
|
, pythonOlder
|
2022-08-21 13:32:41 +00:00
|
|
|
, aiofiles
|
|
|
|
, aiohttp
|
|
|
|
, click-log
|
|
|
|
, emoji
|
|
|
|
, glom
|
|
|
|
, jinja2
|
|
|
|
, pyyaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dinghy";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "0.15.0";
|
2022-08-21 13:32:41 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nedbat";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-11-21 17:40:18 +00:00
|
|
|
hash = "sha256-bfB1VVeIl1KzjY0oQ0jQ8M/fK5LZQqYU7AX201QX+Mk=";
|
2022-08-21 13:32:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiofiles
|
|
|
|
aiohttp
|
|
|
|
click-log
|
|
|
|
emoji
|
|
|
|
glom
|
|
|
|
jinja2
|
|
|
|
pyyaml
|
|
|
|
];
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2022-08-21 13:32:41 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"dinghy.cli"
|
|
|
|
];
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A GitHub activity digest tool";
|
|
|
|
homepage = "https://github.com/nedbat/dinghy";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ trundle veehaitch ];
|
|
|
|
};
|
|
|
|
}
|