jpegoptim: 1.4.6 -> 1.4.7
Release 1.4.7 was so far only published on GitHub and not on the
authors website. Therefore we switch to fetchFromGitHub for obtaining
the source. The license changed from gpl2+ to gpl3+ with commit
2c0f5f2c2c
This commit is contained in:
parent
7751f0c6c3
commit
435959ce6f
@ -1,12 +1,14 @@
|
||||
{ lib, stdenv, fetchurl, libjpeg }:
|
||||
{ lib, stdenv, fetchFromGitHub, libjpeg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.4.6";
|
||||
version = "1.4.7";
|
||||
pname = "jpegoptim";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.kokkonen.net/tjko/src/${pname}-${version}.tar.gz";
|
||||
sha256 = "1dss7907fclfl8zsw0bl4qcw0hhz6fqgi3867w0jyfm3q9jfpcc8";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tjko";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-qae3OEG4CC/OGkmNdHrXFUv9CkoaB1ZJnFHX3RFoxhk=";
|
||||
};
|
||||
|
||||
# There are no checks, it seems.
|
||||
@ -17,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "Optimize JPEG files";
|
||||
homepage = "https://www.kokkonen.net/tjko/projects.html";
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.aristid ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user