2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
29 lines
809 B
Nix
29 lines
809 B
Nix
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
|
|
, kdelibs, networkmanager, libnm-qt }:
|
|
|
|
let
|
|
pname = "plasma-nm";
|
|
version = "0.9.3.4";
|
|
name = "${pname}-${version}";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit name;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/${pname}/${name}.tar.xz";
|
|
sha256 = "0xj14isvjq8ll70b6q66n8adm8ff4j9ng195ndk2gmavjf6bb751";
|
|
};
|
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
|
|
|
|
buildInputs = [ kdelibs networkmanager libnm-qt ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://projects.kde.org/projects/kde/workspace/plasma-nm";
|
|
description = "Plasma applet written in QML for managing network connections";
|
|
license = licenses.lgpl21;
|
|
inherit (kdelibs.meta) platforms;
|
|
maintainers = with maintainers; [ jgeerds ];
|
|
};
|
|
}
|