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

46 lines
787 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, dek
, xmod
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "tdir";
version = "1.8.2";
pyproject = true;
src = fetchFromGitHub {
owner = "rec";
repo = "tdir";
rev = "v${version}";
hash = "sha256-YYQ33Blhqk/CbocqkB9Nh6qbzMjQT07fmzx+fDTvdw8=";
};
build-system = [
poetry-core
];
dependencies = [
dek
xmod
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"tdir"
];
meta = with lib; {
description = "Create, fill a temporary directory";
homepage = "https://github.com/rec/tdir";
changelog = "https://github.com/rec/tdir/blob/${src.rev}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}