at 16.09-beta 28 lines 648 B view raw
1{ 2 kdeDerivation, kdeWrapper, fetchurl, lib, 3 ecm, kdoctools, 4 kconfig, kinit 5}: 6 7let 8 pname = "kronometer"; 9 version = "2.1.0"; 10 unwrapped = kdeDerivation rec { 11 name = "${pname}-${version}"; 12 13 src = fetchurl { 14 url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz"; 15 sha256 = "1nh7y4c13rscy55f5n8s2v8jij27b55rwkxh9g8r0p7mdwmw8vri"; 16 }; 17 18 meta = with lib; { 19 license = licenses.gpl2; 20 maintainers = with maintainers; [ peterhoeg ]; 21 }; 22 nativeBuildInputs = [ ecm kdoctools ]; 23 propagatedBuildInputs = [ kconfig kinit ]; 24 }; 25in 26kdeWrapper unwrapped { 27 targets = [ "bin/kronometer" ]; 28}