okteta: add version attr, clean up

This commit is contained in:
Yegor Timoshenko 2018-05-24 10:47:38 +03:00 committed by Matthew Bauer
parent 04e5cf6665
commit 5da73fc3ff

View File

@ -1,27 +1,34 @@
{ { stdenv, fetchurl, extra-cmake-modules, kdoctools, qtscript, kconfig
mkDerivation, lib, fetchurl, , kinit, karchive, kcrash, kcmutils, kconfigwidgets, knewstuff, kparts
extra-cmake-modules, kdoctools, , qca-qt5, shared-mime-info }:
qtscript, kconfig, kinit, karchive, kcrash,
kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5,
shared-mime-info
}:
let stdenv.mkDerivation rec {
version = "17.12.3";
in mkDerivation rec {
name = "okteta-${version}"; name = "okteta-${version}";
version = "17.12.3";
src = fetchurl { src = fetchurl {
url = "mirror://kde/stable/applications/${version}/src/${name}.tar.xz"; url = "mirror://kde/stable/applications/${version}/src/${name}.tar.xz";
sha256 = "03wsv83l1cay2dpcsksad124wzan7kh8zxdw1h0yicn398kdbck4"; sha256 = "03wsv83l1cay2dpcsksad124wzan7kh8zxdw1h0yicn398kdbck4";
}; };
meta = {
license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ peterhoeg bkchr ];
};
nativeBuildInputs = [ qtscript extra-cmake-modules kdoctools ]; nativeBuildInputs = [ qtscript extra-cmake-modules kdoctools ];
buildInputs = [ shared-mime-info ]; buildInputs = [ shared-mime-info ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kconfig kinit kcmutils kconfigwidgets knewstuff kparts qca-qt5 kconfig
karchive kcrash kinit
kcmutils
kconfigwidgets
knewstuff
kparts
qca-qt5
karchive
kcrash
]; ];
meta = with stdenv.lib; {
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg bkchr ];
platforms = platforms.linux;
};
} }