3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.python-unshare: init at 0.2 (#66893)

* python.pkgs.python-unshare: init at 0.2

* Update pkgs/development/python-modules/python-unshare/default.nix

Co-Authored-By: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
Nikolay Amiantov 2019-08-19 13:34:49 +03:00 committed by GitHub
parent 9b30cf0cb4
commit a92f71964f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "python-unshare";
# pypi version doesn't support Python 3 and the package didn't update for a long time:
# https://github.com/TheTincho/python-unshare/pull/8
version = "unstable-2018-05-20";
src = fetchFromGitHub {
owner = "TheTincho";
repo = "python-unshare";
rev = "4e98c177bdeb24c5dcfcd66c457845a776bbb75c";
sha256 = "1h9biinhy5m7r2cj4abhvsg2hb6xjny3n2dxnj1336zpa082ys3h";
};
meta = with stdenv.lib; {
description = "Python bindings for the Linux unshare() syscall";
homepage = "https://github.com/thetincho/python-unshare";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}

View file

@ -3528,6 +3528,8 @@ in {
python-Levenshtein = callPackage ../development/python-modules/python-levenshtein { };
python-unshare = callPackage ../development/python-modules/python-unshare { };
fs = callPackage ../development/python-modules/fs { };
fs-s3fs = callPackage ../development/python-modules/fs-s3fs { };