summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/stringly/default.nix
blob: 777fc11ed37f5522e22252425e490e3cb3674a2e (plain)
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
{ lib , python, buildPythonPackage , fetchPypi, typing-extensions }:

buildPythonPackage rec {
  pname = "stringly";
  version = "1.0b2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "09fi9dgf27v4qi0mwwms7hpwim9qpyalckd66p7nlmfp6c8bzppq";
  };

  pythonImportsCheck = [ "stringly" ];

  propagatedBuildInputs = [
    typing-extensions
  ];

  checkPhase = ''
    ${python.interpreter} -m unittest
  '';

  meta = with lib; {
    description = "Stringly: Human Readable Object Serialization";
    homepage = "https://github.com/evalf/stringly";
    license = licenses.mit;
    maintainers = [ maintainers.Scriptkiddi ];
  };
}