593e11fd94
According to https://repology.org/repository/nix_unstable/problems, we have a lot of packages that have http links that redirect to https as their homepage. This commit updates all these packages to use the https links as their homepage. The following script was used to make these updates: ``` curl https://repology.org/api/v1/repository/nix_unstable/problems \ | jq '.[] | .problem' -r \ | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \ | sort | uniq > script.sed find -name '*.nix' | xargs -P4 -- sed -f script.sed -i ```
24 lines
585 B
Nix
24 lines
585 B
Nix
{ stdenv, fetchurl, lzma }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zimlib";
|
|
version = "1.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.openzim.org/download/${pname}-${version}.tar.gz";
|
|
sha256 = "14ra3iq42x53k1nqxb5lsg4gadlkpkgv6cbjjl6305ajmbrghcdq";
|
|
};
|
|
|
|
buildInputs = [ lzma ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Library for reading and writing ZIM files";
|
|
homepage = https://www.openzim.org/wiki/Zimlib;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ robbinch ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|