mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
python3Packages.tokenize-rt: init at 4.1.0
This commit is contained in:
parent
53c55b54e7
commit
dc517ce7fd
2 changed files with 30 additions and 0 deletions
28
pkgs/development/python-modules/tokenize-rt/default.nix
Normal file
28
pkgs/development/python-modules/tokenize-rt/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tokenize-rt";
|
||||
version = "4.1.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "asottile";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9qamHk2IZRmgGNFlYkSRks6mRVNlYfetpK/7rsfK9tc=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A wrapper around the stdlib `tokenize` which roundtrips";
|
||||
homepage = "https://github.com/asottile/tokenize-rt";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lovesegfault ];
|
||||
};
|
||||
}
|
|
@ -7974,6 +7974,8 @@ in {
|
|||
|
||||
tokenizers = disabledIf (!isPy3k) (toPythonModule (callPackage ../development/python-modules/tokenizers { }));
|
||||
|
||||
tokenize-rt = disabledIf (!isPy3k) (toPythonModule (callPackage ../development/python-modules/tokenize-rt { }));
|
||||
|
||||
tokenlib = callPackage ../development/python-modules/tokenlib { };
|
||||
|
||||
tokenserver = callPackage ../development/python-modules/tokenserver { };
|
||||
|
|
Loading…
Reference in a new issue