nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 37 lines 737 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 openssl, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "netbox2netshot"; 11 version = "0.2.0"; 12 13 src = fetchFromGitHub { 14 owner = "scaleway"; 15 repo = "netbox2netshot"; 16 rev = version; 17 hash = "sha256-4Leg7MaLSos2RjmxB6yVzxGju6OzNrChXdw5htppuZU="; 18 }; 19 20 cargoHash = "sha256-XjHOlpYSOwSXxbGp/xZVVcBGhprg4hh61L5dhVE5ODM="; 21 22 nativeBuildInputs = [ 23 pkg-config 24 ]; 25 26 buildInputs = [ 27 openssl 28 ]; 29 30 meta = with lib; { 31 description = "Inventory synchronization tool between Netbox and Netshot"; 32 homepage = "https://github.com/scaleway/netbox2netshot"; 33 license = licenses.asl20; 34 maintainers = [ ]; 35 mainProgram = "netbox2netshot"; 36 }; 37}