depot/third_party/nixpkgs/pkgs/development/python-modules/dek/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

37 lines
719 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 = [ ];
};
}