1 { lib, fetchFromGitHub, buildPythonPackage, pyyaml, six, pytest, pyaml }:
3 buildPythonPackage rec {
4 pname = "python-frontmatter";
8 src = fetchFromGitHub {
11 rev = "refs/tags/v${version}";
12 sha256 = "sha256-Sr0RbNVk87Zu01U7nkuPUSnl1bm6G72EZDP/eDn099s=";
15 propagatedBuildInputs = [
17 pyaml # yes, it's needed
21 # tries to import test.test, which conflicts with module
22 # exported by python interpreter
28 pythonImportsCheck = [ "frontmatter" ];
31 homepage = "https://github.com/eyeseast/python-frontmatter";
32 description = "Parse and manage posts with YAML (or other) frontmatter";
33 license = licenses.mit;
34 maintainers = with maintainers; [ siraben ];
35 platforms = platforms.unix;