1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4}: 5 6buildPythonPackage { 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 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}