1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

Merge pull request #56434 from leenaars/thonny

Thonny: 3.0.5 -> 3.1.2
This commit is contained in:
Ryan Mulligan 2019-03-02 07:04:08 -08:00 committed by GitHub
commit d6b632e215
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 6 deletions

View file

@ -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 = ''

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

View file

@ -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 {