From 1df8c62dcf9d0f1557a922274adceccbf8eb104e Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Wed, 3 Aug 2016 10:50:14 +0800 Subject: [PATCH] kronometer: init at 2.1.0 --- pkgs/tools/misc/kronometer/default.nix | 28 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 pkgs/tools/misc/kronometer/default.nix diff --git a/pkgs/tools/misc/kronometer/default.nix b/pkgs/tools/misc/kronometer/default.nix new file mode 100644 index 000000000000..5a3da3788d58 --- /dev/null +++ b/pkgs/tools/misc/kronometer/default.nix @@ -0,0 +1,28 @@ +{ + kdeDerivation, kdeWrapper, fetchurl, lib, + ecm, kdoctools, + kconfig, kinit +}: + +let + pname = "kronometer"; + version = "2.1.0"; + unwrapped = kdeDerivation rec { + name = "${pname}-${version}"; + + src = fetchurl { + url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz"; + sha256 = "1nh7y4c13rscy55f5n8s2v8jij27b55rwkxh9g8r0p7mdwmw8vri"; + }; + + meta = with lib; { + license = licenses.gpl2; + maintainers = with maintainers; [ peterhoeg ]; + }; + nativeBuildInputs = [ ecm kdoctools ]; + propagatedBuildInputs = [ kconfig kinit ]; + }; +in +kdeWrapper unwrapped { + targets = [ "bin/kronometer" ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7010c15db98e..85e8f2f40dab 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15854,7 +15854,7 @@ in }; solarus = callPackage ../games/solarus { }; - + solarus-quest-editor = qt5.callPackage ../development/tools/solarus-quest-editor { }; # You still can override by passing more arguments. @@ -16345,6 +16345,8 @@ in konversation = callPackage ../applications/networking/irc/konversation/1.6.nix { }; + kronometer = callPackage ../tools/misc/kronometer { }; + krita = callPackage ../applications/graphics/krita { vc = vc_0_7; openjpeg = openjpeg_1;