I’m trying to package a Rust application and when I try to run nixpkgs-review
, it results in a “1 package marked as broken and skipped” error which is the package I am trying to add. I have not specified in the derivation if it’s broken, so how do I go about figuring out why it’s marked broken?
This is the derivation that I’m trying which builds fine with nix-build
.
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "fblog";
version = "3.0.2";
src = fetchFromGitHub {
owner = "brocode";
repo = pname;
rev = "v${version}";
sha256 = "sha256-1Q52YTfQp9HXuOe3gxWgE+YM10VGzyog42lv0CLwNWQ=";
};
cargoSha256 = "sha256-XYTRq115QRd2vJ9jr+vkz+J/YdwCJ5az29VthJlhFPw=";
doInstallCheck = true;
installCheckPhase = ''
$out/bin/fblog --help > /dev/null
'';
meta = with lib; {
description = "A small tool to view json log files.";
homepage = "https://github.com/brocode/fblog";
license = licenses.wtfpl;
platforms = platforms.linux;
maintainer = [ maintainers.iammrinal0 ];
};
}