depot/third_party/nixpkgs/pkgs/development/python-modules/dek/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

37 lines
737 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
xmod,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dek";
version = "1.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "rec";
repo = "dek";
rev = "v${version}";
hash = "sha256-DYODdImTRCukGmGbkZ+9TQeI9DYaeRd/EHS6VND5IDs=";
};
build-system = [ poetry-core ];
dependencies = [ xmod ];
nativeBuildInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dek" ];
meta = with lib; {
description = "Decorator-decorator";
homepage = "https://github.com/rec/dek";
changelog = "https://github.com/rec/dek/blob/${src.rev}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}