mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-05 12:20:47 +00:00
49 lines
787 B
Nix
49 lines
787 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
uv-build,
|
|
gitpython,
|
|
packaging,
|
|
ruff,
|
|
mypy,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "nixpkgs-plugin-update";
|
|
version = "0.1.0";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
src = ./nixpkgs-plugin-update;
|
|
|
|
build-system = [ uv-build ];
|
|
|
|
dependencies = [
|
|
gitpython
|
|
packaging
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
ruff
|
|
mypy
|
|
];
|
|
|
|
postInstallCheck = ''
|
|
ruff check
|
|
mypy
|
|
'';
|
|
|
|
# NOTE: Causes "Could not find a url in the derivations src attribute" crash in maintainer scripts
|
|
passthru.updateScript = null;
|
|
|
|
meta = {
|
|
description = "Library for updating plugin collections in Nixpkgs";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
teto
|
|
PerchunPak
|
|
khaneliman
|
|
];
|
|
};
|
|
}
|