mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
commit
d6b632e215
|
@ -1,16 +1,16 @@
|
|||
{ stdenv, fetchFromBitbucket, python3 }:
|
||||
{ stdenv, fetchFromGitHub, python3 }:
|
||||
|
||||
with python3.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "thonny";
|
||||
version = "3.0.5";
|
||||
version = "3.1.2";
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "plas";
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "e5a1ad4ae9d24066a769489b1e168b4bd6e00b03";
|
||||
sha256 = "1lrl5pj9dpw9i5ij863hd47gfd15nmvglqkl2ldwgfn7kgpsdkz5";
|
||||
rev = "v${version}";
|
||||
sha256 = "1simqqxm72k5zhavhllkinsyw8ggy6fjs5ppj82g3l5g3919pfna";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
|
@ -21,6 +21,7 @@ buildPythonApplication rec {
|
|||
pylint
|
||||
mypy
|
||||
pyperclip
|
||||
asttokens
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
|
|
25
pkgs/development/python-modules/asttokens/default.nix
Normal file
25
pkgs/development/python-modules/asttokens/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, astroid, six, coverage
|
||||
, lazy-object-proxy, nose, wrapt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asttokens";
|
||||
version = "1.1.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1vd4djlxmgznz84gzakkv45avnrcpgl1kir92l1pxyp0z5c0dh2m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ lazy-object-proxy six wrapt astroid ];
|
||||
|
||||
checkInputs = [ coverage nose ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/gristlabs/asttokens;
|
||||
description = "Annotate Python AST trees with source text and token information";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
};
|
||||
}
|
|
@ -194,6 +194,8 @@ in {
|
|||
|
||||
astroquery = callPackage ../development/python-modules/astroquery { };
|
||||
|
||||
asttokens = callPackage ../development/python-modules/asttokens { };
|
||||
|
||||
atom = callPackage ../development/python-modules/atom { };
|
||||
|
||||
augeas = callPackage ../development/python-modules/augeas {
|
||||
|
|
Loading…
Reference in a new issue