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