git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.markdown-macros: init at 0.1.2
commit6d4aa25e35717501cc814f5172cc3d0ebfbdcc42 authorAbigailBuccaneer <AbigailBuccaneer@users.noreply.github.com> dateTue 25 Oct 2016, 16:04 (10 years ago) parent709c6a6
1 file changed+32
pkgs/top-level/python-packages.nix+32
pkgs/top-level/python-packages.nix+32
@@ -13721,6 +13721,38 @@ in {
1372113721 };
1372213722 };
1372313723
13724+ markdown-macros = buildPythonPackage rec {
13725+ name = "markdown-macros-${version}";
13726+ version = "0.1.2";
13727+
13728+ src = pkgs.fetchurl {
13729+ url = "mirror://pypi/m/markdown-macros/${name}.tar.gz";
13730+ sha256 = "1lzvrb7nci22yp21ab2qqc9p0fhkazqj29vw0wln2r4ckb2nbawv";
13731+ };
13732+
13733+ patches = [
13734+ # Fixes a bug with markdown>2.4
13735+ (pkgs.fetchpatch {
13736+ url = "https://github.com/wnielson/markdown-macros/pull/1.patch";
13737+ sha256 = "17njbgq2srzkf03ar6yn92frnsbda3g45cdi529fdh0x8mmyxci0";
13738+ })
13739+ ];
13740+
13741+ prePatch = ''
13742+ substituteInPlace setup.py --replace "distribute" "setuptools"
13743+ '';
13744+
13745+ propagatedBuildInputs = with self; [ markdown ];
13746+
13747+ doCheck = false;
13748+
13749+ meta = {
13750+ description = "An extension for python-markdown that makes writing trac-like macros easy";
13751+ homepage = https://github.com/wnielson/markdown-macros;
13752+ license = licenses.mit;
13753+ maintainers = [ maintainers.abigailbuccaneer ];
13754+ };
13755+ };
1372413756
1372513757 mathics = buildPythonPackage rec {
1372613758 name = "mathics-${version}";