depot/third_party/nixpkgs/pkgs/development/python-modules/dek/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

44 lines
757 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 = "The decorator-decorator";
homepage = "https://github.com/rec/dek";
changelog = "https://github.com/rec/dek/blob/${src.rev}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}