Merge branch 'master' into staging-next
Fixed trivial conflicts caused by removing rec.
This commit is contained in:
@@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A small Gtk+ app for keeping track of your time. It's main goal is to be as unintrusive as possible";
|
||||
description = "A small GTK app for keeping track of your time. It's main goal is to be as unintrusive as possible";
|
||||
homepage = https://mg.pov.lt/gtimelog/;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ocharles ];
|
||||
|
||||
25
pkgs/development/python-modules/imagecodecs-lite/default.nix
Normal file
25
pkgs/development/python-modules/imagecodecs-lite/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib, fetchPypi, buildPythonPackage
|
||||
, pytest
|
||||
, numpy
|
||||
, cython
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "imagecodecs-lite";
|
||||
version = "2019.4.20";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1cp88g7g91gdhjhaz6gvb4jzvi5ad817id9f2bnc5r95ag93bqb0";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ numpy cython ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Block-oriented, in-memory buffer transformation, compression, and decompression functions";
|
||||
homepage = "https://www.lfd.uci.edu/~gohlke/";
|
||||
maintainers = [ maintainers.tbenst ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
@@ -52,7 +52,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GTK+-2 bindings";
|
||||
description = "GTK 2 Python bindings";
|
||||
homepage = "https://gitlab.gnome.org/Archive/pygtk";
|
||||
platforms = platforms.all;
|
||||
license = with licenses; [ lgpl21Plus ];
|
||||
|
||||
24
pkgs/development/python-modules/pyvmomi/default.nix
Normal file
24
pkgs/development/python-modules/pyvmomi/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyvmomi";
|
||||
version = "6.7.1.2018.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vmware";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1pgl95rbghidbyr8hndjzfzgb1yjchfcknlqgg3qbqvljnz9hfja";
|
||||
};
|
||||
|
||||
# requires old version of vcrpy
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter";
|
||||
homepage = "https://github.com/vmware/pyvmomi";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://code.google.com/p/pywebkitgtk/";
|
||||
description = "Python bindings for the WebKit GTK+ port";
|
||||
description = "Python bindings for the WebKit GTK port";
|
||||
license = licenses.lgpl2Plus;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "semantic_version";
|
||||
version = "2.6.0";
|
||||
version = "2.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1h2l9xyg1zzsda6kjcmfcgycbvrafwci283vcr1v5sbk01l2hhra";
|
||||
sha256 = "1lnnpxmf3z1rcfr5n562vbraq236s13wlj8fmw2kwr2mrq7lqb8r";
|
||||
};
|
||||
|
||||
# ModuleNotFoundError: No module named 'tests'
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
# required for home-assistant
|
||||
buildPythonPackage rec {
|
||||
pname = "speedtest-cli";
|
||||
version = "2.1.1";
|
||||
version = "2.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1s3ylvkclzdsyqmpjnsd6ixrbmj7vd4bfsdplkjaz1c2czyy3j9p";
|
||||
sha256 = "0m1fpsb318mrpliw026a7nhx8iky306rmfi565734k7r49i3h7fg";
|
||||
};
|
||||
|
||||
# tests require working internet connection
|
||||
|
||||
@@ -1,69 +1,59 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchPypi
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, cachetools
|
||||
, cld2-cffi
|
||||
, cytoolz
|
||||
, ftfy
|
||||
, ijson
|
||||
, jellyfish
|
||||
, matplotlib
|
||||
, networkx
|
||||
, numpy
|
||||
, pyemd
|
||||
, pyphen
|
||||
, python-Levenshtein
|
||||
, pytest
|
||||
, requests
|
||||
, scikitlearn
|
||||
, scipy
|
||||
, spacy
|
||||
, tqdm
|
||||
, unidecode
|
||||
, srsly
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "textacy";
|
||||
version = "0.6.3";
|
||||
version = "0.9.1";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "50402545ac92b1a931c2365e341cb35c4ebe5575525f1dcc5265901ff3895a5f";
|
||||
sha256 = "1jhj02g6kh5vc0z4az7n547siav3gj5571bqpzdryskj6bsma2z1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cachetools
|
||||
cld2-cffi
|
||||
cytoolz
|
||||
ftfy
|
||||
ijson
|
||||
jellyfish
|
||||
matplotlib
|
||||
networkx
|
||||
numpy
|
||||
pyemd
|
||||
pyphen
|
||||
python-Levenshtein
|
||||
requests
|
||||
scikitlearn
|
||||
scipy
|
||||
spacy
|
||||
tqdm
|
||||
unidecode
|
||||
srsly
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'ftfy>=4.2.0,<5.0.0'," "'ftfy>=5.0.0',"
|
||||
checkInputs = [ pytest ];
|
||||
# almost all tests have to deal with downloading a dataset, only test pure tests
|
||||
checkPhase = ''
|
||||
pytest tests/test_text_utils.py \
|
||||
tests/test_utils.py \
|
||||
tests/preprocessing \
|
||||
tests/datasets/test_base_dataset.py
|
||||
'';
|
||||
|
||||
doCheck = false; # tests want to download data files
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Higher-level text processing, built on spaCy";
|
||||
homepage = "http://textacy.readthedocs.io/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ rvl ];
|
||||
# ftfy and jellyfish no longer support python2
|
||||
# latest scikitlearn not supported for this: https://github.com/chartbeat-labs/textacy/issues/260
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user