3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/smartypants/default.nix
Dmitry Kalinkin 01de9f2d45 python3Packages.smartypants: fix src url
Co-authored-by: Robert Schütz <dev@schuetz-co.de>
2021-04-08 15:46:25 +02:00

32 lines
699 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, isPyPy
}:
buildPythonPackage rec {
version = "1.8.6";
pname = "smartypants";
disabled = isPyPy;
src = fetchFromGitHub {
owner = "leohemsted";
repo = "smartypants.py";
rev = "v${version}";
sha256 = "1cmzz44d2hm6y8jj2xcq1wfr26760gi7iq92ha8xbhb1axzd7nq6";
# remove this file and the name on the next version update
extraPostFetch = ''
cp ${./hgtags} "$out"/.hgtags
'';
name = "hg-archive";
};
meta = with lib; {
description = "Python with the SmartyPants";
homepage = "https://github.com/leohemsted/smartypants.py";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}