Merge pull request #114633 from samuelgrf/skanlite-pname-homepage

skanlite: name -> pname, update homepage & license
This commit is contained in:
Sandro 2021-03-01 15:32:58 +01:00 committed by GitHub
commit 301d4939ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,13 +3,12 @@
libksane libksane
}: }:
let mkDerivation rec {
minorVersion = "2.2"; pname = "skanlite";
in mkDerivation rec { version = "2.2.0";
name = "skanlite-2.2.0";
src = fetchurl { src = fetchurl {
url = "mirror://kde/stable/skanlite/${minorVersion}/${name}.tar.xz"; url = "mirror://kde/stable/skanlite/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "VP7MOZdUe64XIVr3r0aKIl1IPds3vjBTZzOS3N3VhOQ="; sha256 = "VP7MOZdUe64XIVr3r0aKIl1IPds3vjBTZzOS3N3VhOQ=";
}; };
@ -23,8 +22,8 @@ in mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "KDE simple image scanning application"; description = "KDE simple image scanning application";
homepage = "http://www.kde.org/applications/graphics/skanlite/"; homepage = "https://apps.kde.org/skanlite";
license = licenses.gpl2; license = licenses.gpl2Plus;
maintainers = with maintainers; [ pshendry ]; maintainers = with maintainers; [ pshendry ];
platforms = platforms.linux; platforms = platforms.linux;
}; };