Files
nixpkgs/pkgs/development/python-modules/nixpkgs-plugin-update/default.nix
T
Emily 00c40f1069 python313Packages.nixpkgs-plugin-update: init from maintainer script
We have machinery for Python packaging, so let’s make use of
it. This also helps unblock moving `by-name` overrides out of
`all-packages.nix`, as it was previously being used to work around
`nixpkgs-vet` forbidding the direct reference to the path.
2025-10-20 19:32:57 +01:00

43 lines
625 B
Nix

{
lib,
buildPythonPackage,
uv-build,
gitpython,
ruff,
mypy,
}:
buildPythonPackage {
pname = "nixpkgs-plugin-update";
version = "0.1.0";
format = "pyproject";
src = ./nixpkgs-plugin-update;
build-system = [ uv-build ];
dependencies = [
gitpython
];
nativeCheckInputs = [
ruff
mypy
];
postInstallCheck = ''
ruff check
mypy
'';
meta = {
description = "Library for updating plugin collections in Nixpkgs";
license = lib.licenses.mit;
maintainers = [
lib.maintainers.teto
lib.maintainers.perchun
lib.maintainers.khaneliman
];
};
}