nixpkgs/pkgs/applications/misc/index-fm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
983 B
Nix
Raw Normal View History

2021-03-06 10:31:44 +00:00
{ lib
, mkDerivation
, fetchFromGitLab
, cmake
, extra-cmake-modules
, karchive
, kcoreaddons
, ki18n
, kio
, kirigami2
, mauikit
2021-05-09 11:41:46 +00:00
, mauikit-filebrowsing
2021-03-06 10:31:44 +00:00
, qtmultimedia
, qtquickcontrols2
}:
mkDerivation rec {
2021-12-19 03:56:34 +00:00
pname = "index-fm";
2022-02-08 17:46:09 +00:00
version = "2.1.1";
2021-03-06 10:31:44 +00:00
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "maui";
repo = "index-fm";
rev = "v${version}";
2022-02-08 17:46:09 +00:00
hash = "sha256-F4qgewkPxkbAbeR+MaeRDiw9KIsd/Xx4C0cYEYDkPOE=";
2021-03-06 10:31:44 +00:00
};
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace "-Werror" ""
'';
2021-03-06 10:31:44 +00:00
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
karchive
kcoreaddons
ki18n
kio
kirigami2
mauikit
2021-05-09 11:41:46 +00:00
mauikit-filebrowsing
2021-03-06 10:31:44 +00:00
qtmultimedia
qtquickcontrols2
];
meta = with lib; {
description = "Multi-platform file manager";
homepage = "https://invent.kde.org/maui/index-fm";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}