Merge master into staging-next
This commit is contained in:
40
pkgs/development/python-modules/atomman/default.nix
Normal file
40
pkgs/development/python-modules/atomman/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, xmltodict
|
||||
, datamodeldict
|
||||
, numpy
|
||||
, matplotlib
|
||||
, scipy
|
||||
, pandas
|
||||
, cython
|
||||
, numericalunits
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.2.3";
|
||||
pname = "atomman";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9eb6acc5497263cfa89be8d0f383a9a69f0726b4ac6798c1b1d96f26705ec09c";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ xmltodict datamodeldict numpy matplotlib scipy pandas cython numericalunits ];
|
||||
|
||||
# tests not included with Pypi release
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/usnistgov/atomman/;
|
||||
description = "Atomistic Manipulation Toolkit";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, beautifulsoup4, bottle, chardet, dateutil
|
||||
, google_api_python_client, lxml, ply, python_magic
|
||||
, nose, requests }:
|
||||
, pytest, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.1.3";
|
||||
@@ -14,13 +14,8 @@ buildPythonPackage rec {
|
||||
sha256 = "4b7b0d3633c82ca88d3cb3d31ad2fd2e45a42401cfa94eaa1cb938ffece34f22";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
# Automatic tests cannot be run because it needs to import some local modules for tests.
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
@@ -32,6 +27,9 @@ buildPythonPackage rec {
|
||||
ply
|
||||
python_magic
|
||||
requests
|
||||
# pytest really is a runtime dependency
|
||||
# https://bitbucket.org/blais/beancount/commits/554e13057551951e113835196770847c788dd592
|
||||
pytest
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, stompclient, pythondaemon, redis, pid, pytest, six, click, coverage
|
||||
, stompclient, python-daemon, redis, pid, pytest, six, click, coverage
|
||||
, sqlalchemy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
sha256 = "4cbfeb5ed2459df14902c1380157be6267702b1271682924cd316ccad8a29d1d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ stompclient pythondaemon redis pid ];
|
||||
propagatedBuildInputs = [ stompclient python-daemon redis pid ];
|
||||
buildInputs = [ pytest six click coverage sqlalchemy ];
|
||||
|
||||
# The teste data is not included in the distribution
|
||||
|
||||
27
pkgs/development/python-modules/datamodeldict/default.nix
Normal file
27
pkgs/development/python-modules/datamodeldict/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.9.4";
|
||||
pname = "DataModelDict";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "97d8e999e000cf69c48e57b1a72eb45a27d83576a38c6cd8550c230b018be7af";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ xmltodict ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/usnistgov/DataModelDict/;
|
||||
description = "Class allowing for data models equivalently represented as Python dictionaries, JSON, and XML";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
@@ -4,18 +4,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gplaycli";
|
||||
version = "3.21";
|
||||
version = "3.25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matlink";
|
||||
repo = "gplaycli";
|
||||
rev = version;
|
||||
sha256 = "1r5nzi9yzswam0866gypjcvv3f1rw13jwx9s49chp8byxy1dyrs2";
|
||||
sha256 = "1rygx5cg4b1vwpkiaq6jcpbc1ly7cspslv3sy7x8n8ba61ryq6h4";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ libffi pyasn1 clint ndg-httpsclient protobuf requests args gpapi pyaxmlparser ];
|
||||
propagatedBuildInputs = [ libffi pyasn1 clint ndg-httpsclient protobuf requests args gpapi pyaxmlparser ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/matlink/gplaycli;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage, ed25519, ecdsa , semver, mnemonic,
|
||||
unidecode, mock, pytest , backports-shutil-which, ConfigArgParse,
|
||||
pythondaemon, pymsgbox }:
|
||||
python-daemon, pymsgbox }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libagent";
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ unidecode backports-shutil-which ConfigArgParse
|
||||
pythondaemon pymsgbox ecdsa ed25519 mnemonic semver ];
|
||||
python-daemon pymsgbox ecdsa ed25519 mnemonic semver ];
|
||||
|
||||
checkInputs = [ mock pytest ];
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
let
|
||||
pname = "nbxmpp";
|
||||
version = "0.6.6";
|
||||
version = "0.6.8";
|
||||
name = "${pname}-${version}";
|
||||
in buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
@@ -11,7 +11,7 @@ in buildPythonPackage rec {
|
||||
name = "${name}.tar.bz2";
|
||||
url = "https://dev.gajim.org/gajim/python-nbxmpp/repository/archive.tar.bz2?"
|
||||
+ "ref=${name}";
|
||||
sha256 = "10n7z613p00q15dplsvdrz11s9yq26jy2qack6nd8k7fivfhlcmz";
|
||||
sha256 = "09zrqz01j45kvayfscd66avkrnn237lbjg9li5hjhyw92h6hkkc4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyopenssl ];
|
||||
|
||||
24
pkgs/development/python-modules/numericalunits/default.nix
Normal file
24
pkgs/development/python-modules/numericalunits/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.16";
|
||||
pname = "numericalunits";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "71ae8e236c7a223bccefffb670dca68be476dd63b7b9009641fc64099455da25";
|
||||
};
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pypi.python.org/pypi/numericalunits;
|
||||
description = "A package that lets you define quantities with unit";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, tornado
|
||||
, zeromq3
|
||||
, zeromq
|
||||
, py
|
||||
, python
|
||||
}:
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [ pytest tornado ];
|
||||
buildInputs = [ zeromq3];
|
||||
buildInputs = [ zeromq ];
|
||||
propagatedBuildInputs = [ py ];
|
||||
|
||||
# test_socket.py seems to be hanging
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, nose, dnspython
|
||||
, chardet, lmtpd, pythondaemon, six, jinja2, mock }:
|
||||
, chardet, lmtpd, python-daemon, six, jinja2, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "salmon-mail";
|
||||
@@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [ nose jinja2 mock ];
|
||||
propagatedBuildInputs = [ chardet dnspython lmtpd pythondaemon six ];
|
||||
propagatedBuildInputs = [ chardet dnspython lmtpd python-daemon six ];
|
||||
|
||||
# The tests use salmon executable installed by salmon itself so we need to add
|
||||
# that to PATH
|
||||
|
||||
Reference in New Issue
Block a user