git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #118817 from dotlambda/smartypants-src

python3Packages.smartypants: fix src url

commit2e8e365f99c869f66c13bcc1e34b75ef9326e987 authorRobert Schütz <dev@schuetz-co.de> dateThu 8 Apr 2021, 16:19 (6 years ago) parent705e5ae01de9f2
2 files changed+27−4
pkgs/development/python-modules/smartypants/default.nix+10−4 pkgs/development/python-modules/smartypants/hgtags+17
pkgs/development/python-modules/smartypants/default.nix+10−4
@@ -1,6 +1,6 @@
11{ lib
22, buildPythonPackage
3−, fetchhg
3+, fetchFromGitHub
44, isPyPy
55}:
66
@@ -9,15 +9,21 @@ buildPythonPackage rec {
99 pname = "smartypants";
1010 disabled = isPyPy;
1111
12− src = fetchhg {
13− url = "https://bitbucket.org/livibetter/smartypants.py";
12+ src = fetchFromGitHub {
13+ owner = "leohemsted";
14+ repo = "smartypants.py";
1415 rev = "v${version}";
1516 sha256 = "1cmzz44d2hm6y8jj2xcq1wfr26760gi7iq92ha8xbhb1axzd7nq6";
17+ # remove this file and the name on the next version update
18+ extraPostFetch = ''
19+ cp ${./hgtags} "$out"/.hgtags
20+ '';
21+ name = "hg-archive";
1622 };
1723
1824 meta = with lib; {
1925 description = "Python with the SmartyPants";
20− homepage = "https://bitbucket.org/livibetter/smartypants.py";
26+ homepage = "https://github.com/leohemsted/smartypants.py";
2127 license = licenses.bsd3;
2228 maintainers = with maintainers; [ ];
2329 };
pkgs/development/python-modules/smartypants/hgtagsnew file+17
@@ -0,0 +1,17 @@
1+47e996532eff9d3bb2c7048aca37d5fd1028e706 v1.5_1.2
2+4ff48eba1d3d37d708005e465cf701b63eb68fd3 v1.5_1.1
3+6ba7f3a14ff77e4e9bf9918413b1710c33deae4d v1.5_1.3.1
4+71006a014216defb21e4db6e03434d289564ea60 v1.5_1.6
5+90950ff693122f80710974abc0f2be64d4105e84 v1.5_1.3
6+a6ecae6541d64f5b12c7b788c65362b0c012278d v1.5_1.0
7+eed4a8a16f116f98e8280dc79128845020bbe766 v1.5_1.5
8+f9a62f541f19ead9be4c3be896b64d1caa0b524c v1.5_1.4
9+fc0bee49a07daf05f034560cfef81a8a8d034d1f v1.5_1.7
10+096ed5f806b6dbc473fae1848643cf45005b9bf1 v1.7.0
11+aaeb8099a24ad7db3f36ebe71ef326d6377730aa v1.7.1
12+fd8ccc937af7280db4e581b2eb1354245f4672ab v1.8.0
13+7839b0eab3e9daf5b346edfa5c54f3cc46fc202a v1.8.1
14+6140b78317beabb6e49cd91b35a779ccb0af7327 v1.8.2
15+c3b1c83c5ddada685b421b8f82f7e92c794bf2f6 v1.8.3
16+460c1add9b9f89831e1ab965f1e1c31325f6e72d v1.8.4
17+78165f4976299c37d6e3dd5463adcd61f9cb2b75 v1.8.5