linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / python-frontmatter / default.nix
blob6c6806f043ced0b5cab1f8a724608ff30d289b91
1 { lib, fetchFromGitHub, python3Packages }:
3 python3Packages.buildPythonPackage rec {
4   pname = "python-frontmatter";
5   version = "0.5.0";
7   src = fetchFromGitHub {
8     owner = "eyeseast";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "1iki3rcbg7zs93m3mgqzncybqgdcch25qpwy84iz96qq8pipfs6g";
12   };
14   propagatedBuildInputs = with python3Packages; [
15     pyyaml
16     six
17   ];
19   checkInputs = with python3Packages; [
20     pytest
21   ];
23   meta = with lib; {
24     homepage = "https://github.com/eyeseast/python-frontmatter";
25     description = "Parse and manage posts with YAML (or other) frontmatter";
26     license = licenses.mit;
27     maintainers = with maintainers; [ siraben ];
28     platforms = lib.platforms.unix;
29   };