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.
This commit is contained in:
Henk Kalkwater 2021-11-08 22:50:05 +01:00
parent 1d62b00a54
commit b982294b6f
3 changed files with 27 additions and 0 deletions

View File

@ -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";

View File

@ -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 ];
};
}

View File

@ -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 { };