pythonPackages.smartypants: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 13:50:47 -04:00
parent eb7fbb8c37
commit ff64515579
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 17 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchhg
, isPyPy
}:
buildPythonPackage rec {
version = "1.8.6";
pname = "smartypants";
disabled = isPyPy;
src = fetchhg {
url = "https://bitbucket.org/livibetter/smartypants.py";
rev = "v${version}";
sha256 = "1cmzz44d2hm6y8jj2xcq1wfr26760gi7iq92ha8xbhb1axzd7nq6";
};
meta = with stdenv.lib; {
description = "Python with the SmartyPants";
homepage = "https://bitbucket.org/livibetter/smartypants.py";
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
}

View File

@ -4439,23 +4439,7 @@ in {
typogrify = callPackage ../development/python-modules/typogrify { };
smartypants = buildPythonPackage rec {
version = "1.8.6";
name = "smartypants-${version}";
src = pkgs.fetchhg {
url = "https://bitbucket.org/livibetter/smartypants.py";
rev = "v${version}";
sha256 = "1cmzz44d2hm6y8jj2xcq1wfr26760gi7iq92ha8xbhb1axzd7nq6";
};
disabled = isPyPy;
buildInputs = with self; [ ]; #docutils pygments ];
meta = {
description = "Python with the SmartyPants";
homepage = "https://bitbucket.org/livibetter/smartypants.py";
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
};
smartypants = callPackage ../development/python-modules/smartypants { };
pypeg2 = buildPythonPackage rec {
version = "2.15.2";