about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-04-08 15:34:29 +0200
committerGitHub <noreply@github.com>2021-04-08 15:34:29 +0200
commit6302dc5955ce1088ba94ea9ba76d1e03cab4da47 (patch)
treedb992d8ce46d2122e7e34c9ed13f918b1ea4be90
parent381aaa85472a4cc01616cbaf70dd46bdabe2f548 (diff)
parentcd143399ec14ffb8a6264f4ccc0a593f30d9cae0 (diff)
downloadnixlib-6302dc5955ce1088ba94ea9ba76d1e03cab4da47.tar
nixlib-6302dc5955ce1088ba94ea9ba76d1e03cab4da47.tar.gz
nixlib-6302dc5955ce1088ba94ea9ba76d1e03cab4da47.tar.bz2
nixlib-6302dc5955ce1088ba94ea9ba76d1e03cab4da47.tar.lz
nixlib-6302dc5955ce1088ba94ea9ba76d1e03cab4da47.tar.xz
nixlib-6302dc5955ce1088ba94ea9ba76d1e03cab4da47.tar.zst
nixlib-6302dc5955ce1088ba94ea9ba76d1e03cab4da47.zip
Merge pull request #118814 from SuperSandro2000/revert-118795
Revert "python3Packages.smartypants: fix src url"
-rw-r--r--pkgs/development/python-modules/smartypants/default.nix13
-rw-r--r--pkgs/development/python-modules/smartypants/hgtags17
2 files changed, 4 insertions, 26 deletions
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