python3Packages.untokenize: init at 0.1.1

This commit is contained in:
Florian Franzen
2021-04-21 18:11:23 +02:00
parent 1f1a77bdb7
commit ff06494b48
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "untokenize";
version = "0.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "3865dbbbb8efb4bb5eaa72f1be7f3e0be00ea8b7f125c69cbd1f5fda926f37a2";
};
checkPhase = "${python.interpreter} -m unittest discover";
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 ];
};
}