mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
python2.pkgs.pylibacl: init at 0.5.4
This commit is contained in:
parent
1c0e912de1
commit
e2f4d626ec
26
pkgs/development/python-modules/pylibacl/0.5.nix
Normal file
26
pkgs/development/python-modules/pylibacl/0.5.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user