1{
2 lib,
3 python,
4 buildPythonPackage,
5 fetchPypi,
6 typing-extensions,
7}:
8
9buildPythonPackage rec {
10 pname = "stringly";
11 version = "1.0b2";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "09fi9dgf27v4qi0mwwms7hpwim9qpyalckd66p7nlmfp6c8bzppq";
17 };
18
19 pythonImportsCheck = [ "stringly" ];
20
21 propagatedBuildInputs = [ typing-extensions ];
22
23 checkPhase = ''
24 ${python.interpreter} -m unittest
25 '';
26
27 meta = with lib; {
28 description = "Stringly: Human Readable Object Serialization";
29 homepage = "https://github.com/evalf/stringly";
30 license = licenses.mit;
31 maintainers = [ maintainers.Scriptkiddi ];
32 };
33}