My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/untokenize/default.nix

24 lines
578 B

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