From b837620e98d3661f2c3cc961ffc604d3bda71f7a Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 5 Jul 2019 18:04:45 -0500 Subject: [PATCH] krita: 4.2.1 -> 4.2.2 https://krita.org/en/item/krita-4-2-2-released/ --- pkgs/applications/graphics/krita/default.nix | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/graphics/krita/default.nix b/pkgs/applications/graphics/krita/default.nix index ca1740807783..cc46ac2d3bb4 100644 --- a/pkgs/applications/graphics/krita/default.nix +++ b/pkgs/applications/graphics/krita/default.nix @@ -8,20 +8,13 @@ , python3Packages }: -let - -major = "4.2"; -minor = "1"; - -in - mkDerivation rec { - name = "krita-${version}"; - version = "${major}.${minor}"; + pname = "krita"; + version = "4.2.2"; src = fetchurl { - url = "https://download.kde.org/stable/krita/${major}.${minor}/${name}.tar.gz"; - sha256 = "1jm9kj9cq2nhaqg3kvyb193hhkd6al1gh23fkl54dj88x3fpldim"; + url = "https://download.kde.org/stable/${pname}/${version}/${pname}-${version}.tar.gz"; + sha256 = "1pzk5bqp3kh22djhvsvmsc7ybirs4hsnkpg1y9677m2gxwbqnnps"; }; nativeBuildInputs = [ cmake extra-cmake-modules python3Packages.sip makeWrapper ];