nixpkgs-suyu/pkgs/servers/irrd/default.nix
n0emis be1e280246
irrd: init at 4.2.6 (#210565)
Co-authored-by: Ember Keske <ember.keske@wobcom.de>
2023-04-26 14:52:31 +02:00

40 lines
1.1 KiB
Nix

{ poetry2nix, pkgs, lib }:
let
pythonPackages = (poetry2nix.mkPoetryPackages {
projectDir = ./.;
overrides = [
poetry2nix.defaultPoetryOverrides
(import ./poetry-git-overlay.nix { inherit pkgs; })
(self: super: {
irrd = super.irrd.overridePythonAttrs (old: {
prePatch = ''
sed -i '/wheel/d' setup.py
'';
meta = old.meta // {
description = "Internet Routing Registry daemon version 4 is an IRR database server, processing IRR objects in the RPSL format.";
license = lib.licenses.mit;
homepage = "https://github.com/irrdnet/irrd";
maintainers = [ lib.maintainers.n0emis ];
};
});
coredis = super.coredis.overridePythonAttrs (old: {
buildInputs = old.buildInputs ++ [
super.setuptools
];
});
ariadne = super.ariadne.overridePythonAttrs (old: {
buildInputs = old.buildInputs ++ [
super.setuptools
];
});
})
];
}).python.pkgs;
in pythonPackages.irrd