depot/third_party/nixpkgs/pkgs/development/python-modules/stringly/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

28 lines
642 B
Nix

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