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
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 ];
};
}