mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
7bd65d54f7
While looking at the sphinx package I noticed it was heavily undermaintained, which is when we noticed nand0p has been inactive for roughly 18 months. It is therefore prudent to assume they will not be maintaining their packages, modules and tests. - Their last contribution to nixpkgs was in 2019/12 - On 2021/05/08 I wrote them an email to the address listed in the maintainer-list, which they didn't reply to.
40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyopenssl
|
|
, twisted
|
|
, service-identity
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "txgithub";
|
|
version = "15.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "16gbizy8vkxasxylwzj4p66yw8979nvzxdj6csidgmng7gi2k8nx";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pyopenssl twisted service-identity ];
|
|
|
|
# fix python3 issues
|
|
patchPhase = ''
|
|
sed -i 's/except usage.UsageError, errortext/except usage.UsageError as errortext/' txgithub/scripts/create_token.py
|
|
sed -i 's/except usage.UsageError, errortext/except usage.UsageError as errortext/' txgithub/scripts/gist.py
|
|
sed -i 's/print response\[\x27html_url\x27\]/print(response\[\x27html_url\x27\])/' txgithub/scripts/gist.py
|
|
sed -i '41d' txgithub/scripts/gist.py
|
|
sed -i '41d' txgithub/scripts/gist.py
|
|
'';
|
|
|
|
# No tests distributed
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "GitHub API client implemented using Twisted.";
|
|
homepage = "https://github.com/tomprince/txgithub";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
|
|
}
|