python2.7-filelock: Init version 3.2.1 for Python 2

This adds filelock 3.2.1, the last version that still supports Python 2.

This fixes nixops, as it still was dependent on filelock for Python 2.
See #145109.
main
Henk Kalkwater 3 years ago
parent 1d62b00a54
commit b982294b6f
  1. 7
      maintainers/maintainer-list.nix
  2. 18
      pkgs/development/python-modules/filelock/3.2.nix
  3. 2
      pkgs/top-level/python2-packages.nix

@ -4550,6 +4550,13 @@
githubId = 2405974;
name = "Sébastian Méric de Bellefon";
};
henkkalkwater = {
email = "chris+nixpkgs@netsoj.nl";
github = "HenkKalkwater";
githubId = 4262067;
matrix = "@chris:netsoj.nl";
name = "Chris Josten";
};
henrikolsson = {
email = "henrik@fixme.se";
github = "henrikolsson";

@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "filelock";
version = "3.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1qry67zv2pmz8px6wdfbjqv75nmryy2ac7asqgs6q6db2722kpcw";
};
meta = with lib; {
homepage = "https://github.com/benediktschmitt/py-filelock";
description = "A platform independent file lock for Python";
license = licenses.unlicense;
maintainers = with maintainers; [ henkkalkwater ];
};
}

@ -110,6 +110,8 @@ with self; with super; {
feedparser = callPackage ../development/python-modules/feedparser/5.nix { };
filelock = callPackage ../development/python-modules/filelock/3.2.nix { };
flask = callPackage ../development/python-modules/flask/1.nix { };
flask_ldap_login = callPackage ../development/python-modules/flask-ldap-login { };

Loading…
Cancel
Save