diff options
author | Yegor Timoshenko <yegortimoshenko@riseup.net> | 2018-05-24 10:47:38 +0300 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-05-25 15:48:26 -0500 |
commit | 5da73fc3ffff3ae8519a9af906fbc84ef926bb35 (patch) | |
tree | 0e4b8cfab94081646e77fe3f35e06812f833b964 /pkgs/applications/editors/okteta | |
parent | 04e5cf666511d6d84d20814557a04f2392fa4a83 (diff) |
okteta: add version attr, clean up
Diffstat (limited to 'pkgs/applications/editors/okteta')
-rw-r--r-- | pkgs/applications/editors/okteta/default.nix | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/pkgs/applications/editors/okteta/default.nix b/pkgs/applications/editors/okteta/default.nix index 9bec148c7f29..abbffeb91807 100644 --- a/pkgs/applications/editors/okteta/default.nix +++ b/pkgs/applications/editors/okteta/default.nix @@ -1,27 +1,34 @@ -{ - mkDerivation, lib, fetchurl, - extra-cmake-modules, kdoctools, - qtscript, kconfig, kinit, karchive, kcrash, - kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5, - shared-mime-info -}: +{ stdenv, fetchurl, extra-cmake-modules, kdoctools, qtscript, kconfig +, kinit, karchive, kcrash, kcmutils, kconfigwidgets, knewstuff, kparts +, qca-qt5, shared-mime-info }: -let - version = "17.12.3"; -in mkDerivation rec { +stdenv.mkDerivation rec { name = "okteta-${version}"; + version = "17.12.3"; + src = fetchurl { - url = "mirror://kde/stable/applications/${version}/src/${name}.tar.xz"; + url = "mirror://kde/stable/applications/${version}/src/${name}.tar.xz"; sha256 = "03wsv83l1cay2dpcsksad124wzan7kh8zxdw1h0yicn398kdbck4"; }; - meta = { - license = with lib.licenses; [ gpl2 ]; - maintainers = with lib.maintainers; [ peterhoeg bkchr ]; - }; + nativeBuildInputs = [ qtscript extra-cmake-modules kdoctools ]; buildInputs = [ shared-mime-info ]; + propagatedBuildInputs = [ - kconfig kinit kcmutils kconfigwidgets knewstuff kparts qca-qt5 - karchive kcrash + kconfig + kinit + kcmutils + kconfigwidgets + knewstuff + kparts + qca-qt5 + karchive + kcrash ]; + + meta = with stdenv.lib; { + license = licenses.gpl2; + maintainers = with maintainers; [ peterhoeg bkchr ]; + platforms = platforms.linux; + }; } |