uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
41
pkgs/applications/misc/k4dirstat/default.nix
Normal file
41
pkgs/applications/misc/k4dirstat/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ mkDerivation
|
||||
, extra-cmake-modules
|
||||
, fetchFromGitHub
|
||||
, kdoctools
|
||||
, kiconthemes
|
||||
, kio
|
||||
, kjobwidgets
|
||||
, kxmlgui
|
||||
, lib
|
||||
, testers
|
||||
, k4dirstat
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "k4dirstat";
|
||||
version = "3.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jeromerobert";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-KLvWSDv4x0tMhAPqp8yNQed2i7R0MPbvadHddSJ1Nx4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ kiconthemes kio kjobwidgets kxmlgui ];
|
||||
|
||||
passthru.tests.version =
|
||||
testers.testVersion {
|
||||
package = k4dirstat;
|
||||
command = "k4dirstat -platform offscreen --version &>/dev/stdout";
|
||||
};
|
||||
|
||||
meta = with 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue