New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k4dirstat: init at 3.2.1 #91345
k4dirstat: init at 3.2.1 #91345
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some spacing + meta stuff seems odd, heres a suggestion:
{ stdenv
, mkDerivation
, fetchFromGitHub
, extra-cmake-modules
, kdoctools
, kiconthemes
, kio
, kjobwidgets
, kxmlgui
}:
mkDerivation rec {
pname = "k4dirstat";
version = "3.2.1";
src = fetchFromGitHub {
owner = "jeromerobert";
repo = pname;
rev = version;
sha256 = "15xjb80jq6vhzvzx4l341f40d8a23w1334qh6cczqm9adfnzycp7";
};
nativeBuildInputs = [ extra-cmake-modules kdoctools kxmlgui ];
buildInputs = [ kiconthemes kio kjobwidgets ];
meta = with stdenv.lib; {
homepage = "https://github.com/jeromerobert/k4dirstat";
description = "A small utility program that sums up disk usage for directory trees";
license = licenses.gpl2;
maintainers = [ maintainers.raboof ];
platforms = platforms.linux;
};
}
}; | ||
nativeBuildInputs = [ extra-cmake-modules kdoctools kxmlgui ]; | ||
buildInputs = [ kiconthemes kio kjobwidgets ]; | ||
propagatedBuildInputs = [ ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This defaults to being empty, no? You can just remove it.
description = "A small utility program that sums up disk usage for directory trees"; | ||
maintainers = [ lib.maintainers.raboof ]; | ||
}; | ||
nativeBuildInputs = [ extra-cmake-modules kdoctools kxmlgui ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't kdoctools
and kxmlgui
be regular buildInputs
?
59b7df8
to
b5b84be
Compare
Updated, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
Result of 1 package built:- k4dirstat |
GUI works for me. |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)