Merge pull request #30919 from adisbladis/pythonPackages-cleanup
WIP: Python packages cleanup
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl
|
||||
, xe }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
url = "http://www.blarg.net/%7Esteveha/pyfeed-0.7.4.tar.gz";
|
||||
|
||||
name = stdenv.lib.nameFromURL url ".tar";
|
||||
|
||||
src = fetchurl {
|
||||
inherit url;
|
||||
sha256 = "1h4msq573m7wm46h3cqlx4rsn99f0l11rhdqgf50lv17j8a8vvy1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ xe ];
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://home.blarg.net/~steveha/pyfeed.html";
|
||||
description = "Tools for syndication feeds";
|
||||
};
|
||||
}
|
||||
27
pkgs/development/python-modules/pylibacl/default.nix
Normal file
27
pkgs/development/python-modules/pylibacl/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylibacl";
|
||||
version = "0.5.3";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0c3xw1s5bh6jnsc0wwyxnn6kn6x6rpbmmi05ap1f81fyqlgrzgj0";
|
||||
};
|
||||
|
||||
# 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;
|
||||
};
|
||||
}
|
||||
27
pkgs/development/python-modules/python-fuse/default.nix
Normal file
27
pkgs/development/python-modules/python-fuse/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, pkgconfig
|
||||
, fetchurl
|
||||
, fuse
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
baseName = "fuse";
|
||||
version = "0.2.1";
|
||||
name = "${baseName}-${version}";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/fuse/fuse-python-${version}.tar.gz";
|
||||
sha256 = "06rmp1ap6flh64m81j0n3a357ij2vj9zwcvvw0p31y6hz1id9shi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ fuse ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for FUSE";
|
||||
license = lib.licenses.lgpl21;
|
||||
};
|
||||
}
|
||||
26
pkgs/development/python-modules/pyxattr/default.nix
Normal file
26
pkgs/development/python-modules/pyxattr/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user