mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
ff1a94e523
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.
42 lines
967 B
Nix
42 lines
967 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, kactivities
|
|
, qtbase
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "KSmoothDock";
|
|
version = "6.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dangvd";
|
|
repo = "ksmoothdock";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-hO7xgjFMFrEhQs3oc2peFTjSVEDsl7Ma/TeVybEZMEk=";
|
|
};
|
|
|
|
# Upstream seems dead and there are new deprecation warnings in KF5.100
|
|
# Remember, kids: friends don't let friends build with -Werror
|
|
postPatch = ''
|
|
substituteInPlace src/CMakeLists.txt --replace "-Werror" ""
|
|
'';
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ kactivities qtbase ];
|
|
|
|
cmakeDir = "../src";
|
|
|
|
meta = with lib; {
|
|
description = "A cool desktop panel for KDE Plasma 5";
|
|
mainProgram = "ksmoothdock";
|
|
license = licenses.mit;
|
|
homepage = "https://dangvd.github.io/ksmoothdock/";
|
|
maintainers = with maintainers; [ shamilton ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|