depot/third_party/nixpkgs/pkgs/development/python-modules/untokenize/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

26 lines
604 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "untokenize";
version = "0.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "3865dbbbb8efb4bb5eaa72f1be7f3e0be00ea8b7f125c69cbd1f5fda926f37a2";
};
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {
description = "Transforms tokens into original source code while preserving whitespace";
homepage = "https://github.com/myint/untokenize";
license = licenses.mit;
maintainers = with maintainers; [ FlorianFranzen ];
};
}