mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
42 lines
760 B
Nix
42 lines
760 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 = [ ];
|
|
};
|
|
}
|