pythonPackages.pyxattr: 0.5.1 -> 0.6.0

This commit is contained in:
adisbladis 2017-10-28 15:29:10 +08:00
parent e78864e3b7
commit 892a0005ff
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5
2 changed files with 27 additions and 19 deletions

View File

@ -0,0 +1,26 @@
{ lib
, pkgs
, fetchPypi
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "pyxattr";
version = "0.6.0";
name = pname + "-" + version;
src = fetchPypi {
inherit pname version;
sha256 = "1a3fqjlgbzq5hmc3yrnxxxl8nyn3rz2kfn17svbsahaq4gj0xl09";
};
# IOError: [Errno 95] Operation not supported (expected)
doCheck = false;
buildInputs = with pkgs; [ attr ];
meta = with lib; {
description = "A Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems";
license = licenses.lgpl21Plus;
};
}

View File

@ -17612,25 +17612,7 @@ in {
pywinrm = callPackage ../development/python-modules/pywinrm { };
pyxattr = buildPythonPackage (rec {
name = "pyxattr-0.5.1";
src = pkgs.fetchurl {
url = "https://github.com/downloads/iustin/pyxattr/${name}.tar.gz";
sha256 = "0jmkffik6hdzs7ng8c65bggss2ai40nm59jykswdf5lpd36cxddq";
};
# error: invalid command 'test'
doCheck = false;
buildInputs = with self; [ pkgs.attr ];
meta = {
description = "A Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems";
license = licenses.lgpl21Plus;
};
});
pyxattr = callPackage ../development/python-modules/pyxattr { };
pyaml = buildPythonPackage (rec {
name = "pyaml-15.02.1";