nixpkgs/pkgs/development/python-modules/python-unshare/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

29 lines
793 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage {
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";
format = "setuptools";
src = fetchFromGitHub {
owner = "TheTincho";
repo = "python-unshare";
rev = "4e98c177bdeb24c5dcfcd66c457845a776bbb75c";
sha256 = "1h9biinhy5m7r2cj4abhvsg2hb6xjny3n2dxnj1336zpa082ys3h";
};
meta = with 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 ];
};
}