mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
be1e280246
Co-authored-by: Ember Keske <ember.keske@wobcom.de>
40 lines
1.1 KiB
Nix
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
|
|
|