mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:44:50 +00:00
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 ```
19 lines
469 B
Nix
19 lines
469 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, isPyPy }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-cjson";
|
|
version = "1.2.1";
|
|
disabled = isPy3k || isPyPy;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "52db2745264624768bfd9b604acb38f631bde5c2ec9b23861677d747e4558626";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A very fast JSON encoder/decoder for Python";
|
|
homepage = https://ag-projects.com/;
|
|
license = licenses.lgpl2;
|
|
};
|
|
}
|