nixpkgs/pkgs/development/python-modules/web/default.nix
Patrick Hilhorst 593e11fd94
treewide: fix redirected urls
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
```
2020-01-22 11:26:22 +01:00

29 lines
594 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
version = "0.40";
pname = "web.py";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "dc5e42ffbc42d77d07f75b7acca9975a3368ae609774e49ddebb497a784131f3";
};
meta = with stdenv.lib; {
description = "Makes web apps";
longDescription = ''
Think about the ideal way to write a web app.
Write the code to make it happen.
'';
homepage = "https://webpy.org/";
license = licenses.publicDomain;
maintainers = with maintainers; [ layus ];
};
}