mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
55 lines
957 B
Nix
55 lines
957 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, aiofiles
|
|
, aiohttp
|
|
, click-log
|
|
, emoji
|
|
, glom
|
|
, jinja2
|
|
, pyyaml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dinghy";
|
|
version = "1.2.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nedbat";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-xtcNcykfgcWvifso0xaeMT31+G5x4HCp+tLAIEEq4cw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiofiles
|
|
aiohttp
|
|
click-log
|
|
emoji
|
|
glom
|
|
jinja2
|
|
pyyaml
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"dinghy.cli"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A GitHub activity digest tool";
|
|
homepage = "https://github.com/nedbat/dinghy";
|
|
changelog = "https://github.com/nedbat/dinghy/blob/${version}/CHANGELOG.rst";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ trundle veehaitch ];
|
|
};
|
|
}
|