From cd143399ec14ffb8a6264f4ccc0a593f30d9cae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 8 Apr 2021 15:27:40 +0200 Subject: [PATCH] Revert "python3Packages.smartypants: fix src url" This reverts commit acc3b5ad904804755d33a44792ea24d8f707a35c. --- .../python-modules/smartypants/default.nix | 13 ++++--------- .../python-modules/smartypants/hgtags | 17 ----------------- 2 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 pkgs/development/python-modules/smartypants/hgtags diff --git a/pkgs/development/python-modules/smartypants/default.nix b/pkgs/development/python-modules/smartypants/default.nix index 56fdf9b89103..d1e11e30d619 100644 --- a/pkgs/development/python-modules/smartypants/default.nix +++ b/pkgs/development/python-modules/smartypants/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, fetchFromGitHub +, fetchhg , isPyPy }: @@ -9,20 +9,15 @@ buildPythonPackage rec { pname = "smartypants"; disabled = isPyPy; - src = fetchFromGitHub { - owner = "leohemsted"; - repo = "smartypants.py"; + src = fetchhg { + url = "https://bitbucket.org/livibetter/smartypants.py"; rev = "v${version}"; sha256 = "1cmzz44d2hm6y8jj2xcq1wfr26760gi7iq92ha8xbhb1axzd7nq6"; - # remove this file on the next version update - extraPostFetch = '' - cp ${./hgtags} "$out"/.hgtags - ''; }; meta = with lib; { description = "Python with the SmartyPants"; - homepage = "https://github.com/leohemsted/smartypants.py"; + homepage = "https://bitbucket.org/livibetter/smartypants.py"; license = licenses.bsd3; maintainers = with maintainers; [ ]; }; diff --git a/pkgs/development/python-modules/smartypants/hgtags b/pkgs/development/python-modules/smartypants/hgtags deleted file mode 100644 index 522ca8d2c017..000000000000 --- a/pkgs/development/python-modules/smartypants/hgtags +++ /dev/null @@ -1,17 +0,0 @@ -47e996532eff9d3bb2c7048aca37d5fd1028e706 v1.5_1.2 -4ff48eba1d3d37d708005e465cf701b63eb68fd3 v1.5_1.1 -6ba7f3a14ff77e4e9bf9918413b1710c33deae4d v1.5_1.3.1 -71006a014216defb21e4db6e03434d289564ea60 v1.5_1.6 -90950ff693122f80710974abc0f2be64d4105e84 v1.5_1.3 -a6ecae6541d64f5b12c7b788c65362b0c012278d v1.5_1.0 -eed4a8a16f116f98e8280dc79128845020bbe766 v1.5_1.5 -f9a62f541f19ead9be4c3be896b64d1caa0b524c v1.5_1.4 -fc0bee49a07daf05f034560cfef81a8a8d034d1f v1.5_1.7 -096ed5f806b6dbc473fae1848643cf45005b9bf1 v1.7.0 -aaeb8099a24ad7db3f36ebe71ef326d6377730aa v1.7.1 -fd8ccc937af7280db4e581b2eb1354245f4672ab v1.8.0 -7839b0eab3e9daf5b346edfa5c54f3cc46fc202a v1.8.1 -6140b78317beabb6e49cd91b35a779ccb0af7327 v1.8.2 -c3b1c83c5ddada685b421b8f82f7e92c794bf2f6 v1.8.3 -460c1add9b9f89831e1ab965f1e1c31325f6e72d v1.8.4 -78165f4976299c37d6e3dd5463adcd61f9cb2b75 v1.8.5