forked from mirrors/nixpkgs
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 ```
31 lines
612 B
Nix
31 lines
612 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, isPy3k
|
|
, fetchdarcs
|
|
, greenlet
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-eventlib";
|
|
version = "0.2.4";
|
|
# Judging from SyntaxError
|
|
disabled = isPy3k;
|
|
|
|
src = fetchdarcs {
|
|
url = "http://devel.ag-projects.com/repositories/${pname}";
|
|
rev = "release-${version}";
|
|
sha256 = "1w1axsm6w9bl2smzxmyk4in1lsm8gk8ma6y183m83cpj66aqxg4z";
|
|
};
|
|
|
|
propagatedBuildInputs = [ greenlet ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Eventlib bindings for python";
|
|
homepage = "https://ag-projects.com/";
|
|
license = licenses.lgpl2;
|
|
};
|
|
|
|
}
|