Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / tomli-w / default.nix
blob920063fd10ebf0b3c2a0d2e1616ef00c3282bb5b
1 { lib
2 , buildPythonPackage
3 , callPackage
4 , fetchFromGitHub
5 , flit-core
6 }:
8 buildPythonPackage rec {
9   pname = "tomli-w";
10   version = "1.0.0";
11   format = "pyproject";
13   src = fetchFromGitHub {
14     owner = "hukkin";
15     repo = pname;
16     rev = version;
17     hash = "sha256-wZSC5uOi1JUeKXIli1I8/Vo0wGsv9Q1I84dAMQQP95w=";
18   };
20   nativeBuildInputs = [ flit-core ];
22   pythonImportsCheck = [ "tomli_w" ];
24   meta = with lib; {
25     description = "A write-only counterpart to Tomli, which is a read-only TOML parser";
26     homepage = "https://github.com/hukkin/tomli-w";
27     license = licenses.mit;
28     maintainers = with maintainers; [ lovesegfault ];
29   };