depot/third_party/nixpkgs/pkgs/development/python-modules/stringly/default.nix

29 lines
642 B
Nix
Raw Normal View History

{ 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 ];
};
}