My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/smartypants/default.nix

38 lines
715 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, isPyPy
, docutils
, pygments
, pytestCheckHook
}:
buildPythonPackage rec {
version = "2.0.1";
pname = "smartypants";
disabled = isPyPy;
src = fetchFromGitHub {
owner = "leohemsted";
repo = "smartypants.py";
rev = "v${version}";
sha256 = "00p1gnb9pzb3svdq3c5b9b332gsp50wrqqa39gj00m133zadanjp";
};
checkInputs = [
docutils
pygments
pytestCheckHook
];
preCheck = ''
patchShebangs smartypants
'';
meta = with lib; {
description = "Python with the SmartyPants";
homepage = "https://github.com/leohemsted/smartypants.py";
license = licenses.bsd3;
maintainers = with maintainers; [ dotlambda ];
};
}