nixpkgs-suyu/pkgs/development/python-modules/dinghy/default.nix
Andreas Stührk cc36db72d4 python3Packages.dinghy: init at 0.13.2
Co-authored-by: Vincent Haupert <mail@vincent-haupert.de>
2022-08-20 18:30:33 +02:00

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