python2.pkgs.pylibacl: init at 0.5.4

This commit is contained in:
Orivej Desh 2020-12-06 23:19:31 +00:00
parent 1c0e912de1
commit e2f4d626ec
2 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, pkgs
}:
buildPythonPackage rec {
pname = "pylibacl";
version = "0.5.4";
src = fetchPypi {
inherit pname version;
sha256 = "0drvxb21y7p0aikcv3jx90vdcjk96kibf9x8qgxic2prxxd3f3q6";
};
# ERROR: testExtended (tests.test_acls.AclExtensions)
# IOError: [Errno 0] Error
doCheck = false;
buildInputs = with pkgs; [ acl ];
meta = {
description = "A Python extension module for POSIX ACLs, it can be used to query, list, add, and remove ACLs from files and directories under operating systems that support them";
license = lib.licenses.lgpl21Plus;
};
}

View file

@ -5245,7 +5245,10 @@ in {
pylev = callPackage ../development/python-modules/pylev { };
pylibacl = callPackage ../development/python-modules/pylibacl { };
pylibacl = if isPy3k then
callPackage ../development/python-modules/pylibacl { }
else
callPackage ../development/python-modules/pylibacl/0.5.nix { };
pylibconfig2 = callPackage ../development/python-modules/pylibconfig2 { };