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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
642 B
Nix
Raw Normal View History

2022-04-22 07:07:57 +00:00
{ lib , python, buildPythonPackage , fetchPypi, typing-extensions }:
2022-04-22 07:06:48 +00:00
buildPythonPackage rec {
pname = "stringly";
version = "1.0b2";
src = fetchPypi {
inherit pname version;
2022-04-22 07:07:57 +00:00
sha256 = "09fi9dgf27v4qi0mwwms7hpwim9qpyalckd66p7nlmfp6c8bzppq";
2022-04-22 07:06:48 +00:00
};
pythonImportsCheck = [ "stringly" ];
propagatedBuildInputs = [
typing-extensions
];
2022-04-22 07:07:57 +00:00
checkPhase = ''
${python.interpreter} -m unittest
'';
2022-04-22 07:06:48 +00:00
meta = with lib; {
description = "Stringly: Human Readable Object Serialization";
homepage = "https://github.com/evalf/stringly";
license = licenses.mit;
2022-04-22 07:07:57 +00:00
maintainers = [ maintainers.Scriptkiddi ];
2022-04-22 07:06:48 +00:00
};
}