blob: 920063fd10ebf0b3c2a0d2e1616ef00c3282bb5b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib
, buildPythonPackage
, callPackage
, fetchFromGitHub
, flit-core
}:
buildPythonPackage rec {
pname = "tomli-w";
version = "1.0.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "hukkin";
repo = pname;
rev = version;
hash = "sha256-wZSC5uOi1JUeKXIli1I8/Vo0wGsv9Q1I84dAMQQP95w=";
};
nativeBuildInputs = [ flit-core ];
pythonImportsCheck = [ "tomli_w" ];
meta = with lib; {
description = "A write-only counterpart to Tomli, which is a read-only TOML parser";
homepage = "https://github.com/hukkin/tomli-w";
license = licenses.mit;
maintainers = with maintainers; [ lovesegfault ];
};
}
|