depot/third_party/nixpkgs/pkgs/development/python-modules/stringly/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

29 lines
667 B
Nix

{ lib , python, buildPythonPackage , fetchPypi, typing-extensions }:
buildPythonPackage rec {
pname = "stringly";
version = "1.0b2";
format = "setuptools";
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 ];
};
}