nixpkgs/pkgs/applications/file-managers/dfilemanager/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
705 B
Nix

{ lib, mkDerivation, fetchFromGitHub, cmake, file, qtbase, qttools, solid }:
mkDerivation {
pname = "dfilemanager";
version = "unstable-2021-02-20";
src = fetchFromGitHub {
owner = "probonopd";
repo = "dfilemanager";
rev = "61179500a92575e05cf9a71d401c388726bfd73d";
sha256 = "sha256-BHd2dZDVxy82vR6PyXIS5M6zBGJ4bQfOhdBCdOww4kc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase qttools file solid ];
cmakeFlags = [ "-DQT5BUILD=true" ];
meta = {
homepage = "https://github.com/probonopd/dfilemanager";
description = "File manager written in Qt/C++";
mainProgram = "dfm";
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
};
}