depot/third_party/nixpkgs/pkgs/development/python-modules/dinghy/default.nix
Default email 1be0098156 Project import generated by Copybara.
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
2022-11-04 13:27:35 +01:00

53 lines
855 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, aiofiles
, aiohttp
, click-log
, emoji
, glom
, jinja2
, pyyaml
}:
buildPythonPackage rec {
pname = "dinghy";
version = "0.14.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "nedbat";
repo = pname;
rev = version;
hash = "sha256-zhSSEI5h7ZCQeytAFbevowhITghaG4vu81C4pDb6xUg=";
};
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 ];
};
}