markdown-pp: init at 1.4 (#43525)
* markdown-pp: init at 1.3 * Increment version, fix tests
This commit is contained in:
		
							parent
							
								
									7f882b53a0
								
							
						
					
					
						commit
						c17decb15c
					
				@ -4420,6 +4420,11 @@
 | 
			
		||||
    email = "zef@zef.me";
 | 
			
		||||
    name = "Zef Hemel";
 | 
			
		||||
  };
 | 
			
		||||
  zgrannan = {
 | 
			
		||||
    email = "zgrannan@gmail.com";
 | 
			
		||||
    github = "zgrannan";
 | 
			
		||||
    name = "Zack Grannan";
 | 
			
		||||
  };
 | 
			
		||||
  zimbatm = {
 | 
			
		||||
    email = "zimbatm@zimbatm.com";
 | 
			
		||||
    github = "zimbatm";
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										24
									
								
								pkgs/tools/text/markdown-pp/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								pkgs/tools/text/markdown-pp/default.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,24 @@
 | 
			
		||||
{ fetchFromGitHub, pythonPackages, stdenv }:
 | 
			
		||||
 | 
			
		||||
with pythonPackages;
 | 
			
		||||
buildPythonApplication rec {
 | 
			
		||||
  pname = "MarkdownPP";
 | 
			
		||||
  version = "1.4";
 | 
			
		||||
  propagatedBuildInputs = [ pillow watchdog ];
 | 
			
		||||
  checkPhase = ''
 | 
			
		||||
    cd test
 | 
			
		||||
    PATH=$out/bin:$PATH ${python}/bin/${python.executable} test.py
 | 
			
		||||
  '';
 | 
			
		||||
  src = fetchFromGitHub {
 | 
			
		||||
    owner = "jreese";
 | 
			
		||||
    repo = "markdown-pp";
 | 
			
		||||
    rev = "v${version}";
 | 
			
		||||
    sha256 = "1xmc0cxvvf6jzr7p4f0hm8icysrd44sy2kgff9b99lr1agwkmysq";
 | 
			
		||||
  };
 | 
			
		||||
  meta = with stdenv.lib; {
 | 
			
		||||
    description = "Preprocessor for Markdown files to generate a table of contents and other documentation needs";
 | 
			
		||||
    license = licenses.mit;
 | 
			
		||||
    homepage = "https://github.com/jreese/markdown-pp";
 | 
			
		||||
    maintainers = with maintainers; [ zgrannan ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
@ -17131,6 +17131,8 @@ with pkgs;
 | 
			
		||||
  marathon = callPackage ../applications/networking/cluster/marathon { };
 | 
			
		||||
  marathonctl = callPackage ../tools/virtualization/marathonctl { } ;
 | 
			
		||||
 | 
			
		||||
  markdown-pp = callPackage ../tools/text/markdown-pp { };
 | 
			
		||||
 | 
			
		||||
  marp = callPackage ../applications/office/marp { };
 | 
			
		||||
 | 
			
		||||
  matchbox = callPackage ../applications/window-managers/matchbox { };
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user