git.iko.soy/typeable/nixpkgs
on master help sign in
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>

commita92f71964f154d42cf55cd34dcc247bdfcbc62c7 authorNikolay Amiantov <ab@fmap.me> dateMon 19 Aug 2019, 13:34 (7 years ago) parent9b30cf0
2 files changed+29
pkgs/development/python-modules/python-unshare/default.nix+27 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/python-unshare/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ stdenv
2+, buildPythonPackage
3+, fetchFromGitHub
4+}:
5+
6+buildPythonPackage rec {
7+ pname = "python-unshare";
8+ # pypi version doesn't support Python 3 and the package didn't update for a long time:
9+ # https://github.com/TheTincho/python-unshare/pull/8
10+ version = "unstable-2018-05-20";
11+
12+ src = fetchFromGitHub {
13+ owner = "TheTincho";
14+ repo = "python-unshare";
15+ rev = "4e98c177bdeb24c5dcfcd66c457845a776bbb75c";
16+ sha256 = "1h9biinhy5m7r2cj4abhvsg2hb6xjny3n2dxnj1336zpa082ys3h";
17+ };
18+
19+ meta = with stdenv.lib; {
20+ description = "Python bindings for the Linux unshare() syscall";
21+ homepage = "https://github.com/thetincho/python-unshare";
22+ license = licenses.gpl2;
23+ platforms = platforms.linux;
24+ maintainers = with maintainers; [ abbradar ];
25+ };
26+
27+}
pkgs/top-level/python-packages.nix+2
@@ -3528,6 +3528,8 @@ in {
35283528
35293529 python-Levenshtein = callPackage ../development/python-modules/python-levenshtein { };
35303530
3531+ python-unshare = callPackage ../development/python-modules/python-unshare { };
3532+
35313533 fs = callPackage ../development/python-modules/fs { };
35323534
35333535 fs-s3fs = callPackage ../development/python-modules/fs-s3fs { };