Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, setuptools, netbox, django, netaddr, python,}:buildPythonPackage rec { pname = "netbox-floorplan-plugin"; version = "0.7.0"; pyproject = true;
disabled = python.pythonVersion != netbox.python.pythonVersion;
src = fetchFromGitHub { owner = "netbox-community"; repo = "netbox-floorplan-plugin"; tag = version; hash = "sha256-ecwPdcVuXU6OIVbafYGaY6+pbBHxhh1AlNmDBlUk1Ss="; };
build-system = [ setuptools ];
nativeCheckInputs = [ netbox django netaddr ];
preFixup = '' export PYTHONPATH=${netbox}/opt/netbox/netbox:$PYTHONPATH '';
pythonImportsCheck = [ "netbox_floorplan" ];
meta = with lib; { description = "Netbox plugin providing floorplan mapping capability for locations and sites"; homepage = "https://github.com/netbox-community/netbox-floorplan-plugin"; changelog = "https://github.com/netbox-community/netbox-floorplan-plugin/releases/tag/${src.tag}"; license = licenses.lgpl3; maintainers = with maintainers; [ cobalt ]; };}