diff options
| author | Nikolay Amiantov <ab@fmap.me> | 2019-08-19 13:34:49 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-19 13:34:49 +0300 |
| commit | a92f71964f154d42cf55cd34dcc247bdfcbc62c7 (patch) | |
| tree | fc8c52643e153435305c6031b677c5fab8ba8515 /pkgs/development/python-modules/python-unshare | |
| parent | 9b30cf0cb4c0722ea1f2b85e5cb5b334d8516dc3 (diff) | |
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>
Diffstat (limited to 'pkgs/development/python-modules/python-unshare')
| -rw-r--r-- | pkgs/development/python-modules/python-unshare/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-unshare/default.nix b/pkgs/development/python-modules/python-unshare/default.nix new file mode 100644 index 000000000000..e6425c300478 --- /dev/null +++ b/pkgs/development/python-modules/python-unshare/default.nix @@ -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 ]; + }; + +} |
