mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 23:51:03 +00:00
Merge master into staging-next
This commit is contained in:
@@ -4,40 +4,35 @@
|
||||
, fetchPypi
|
||||
, cvxopt
|
||||
, ecos
|
||||
, multiprocess
|
||||
, numpy
|
||||
, osqp
|
||||
, scipy
|
||||
, scs
|
||||
, six
|
||||
# Check inputs
|
||||
, pytestCheckHook
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cvxpy";
|
||||
version = "1.1.8";
|
||||
version = "1.1.10";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "444068d4eda9ffcd43578895174489d4cef36b28ba7ae8a96ab9ef9571d2b4ff";
|
||||
hash = "sha256-7NCouJ95nOolSSjeqHktnGnDfbC9gwtM2mKbKyvlInA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cvxopt
|
||||
ecos
|
||||
multiprocess
|
||||
numpy
|
||||
osqp
|
||||
scipy
|
||||
scs
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook nose ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pytestFlagsArray = [ "./cvxpy" ];
|
||||
# Disable the slowest benchmarking tests, cuts test time in half
|
||||
disabledTests = [
|
||||
@@ -46,7 +41,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A domain-specific language for modeling convex optimization problems in Python.";
|
||||
description = "A domain-specific language for modeling convex optimization problems in Python";
|
||||
homepage = "https://www.cvxpy.org/";
|
||||
downloadPage = "https://github.com/cvxgrp/cvxpy/releases";
|
||||
changelog = "https://github.com/cvxgrp/cvxpy/releases/tag/v${version}";
|
||||
|
||||
38
pkgs/development/python-modules/desktop-notifier/default.nix
Normal file
38
pkgs/development/python-modules/desktop-notifier/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, stdenv
|
||||
, packaging
|
||||
, importlib-resources
|
||||
, dbus-next
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "desktop-notifier";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-D8/amC6SwXkm8Ao8G2Vn9FNpbqyFJFBUVcngkW5g8k0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
] ++ lib.optionals (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
dbus-next
|
||||
];
|
||||
|
||||
# no tests available, do the imports check instead
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "desktop_notifier" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/samschott/desktop-notifier";
|
||||
description = "A Python library for cross-platform desktop notifications";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sfrijters ];
|
||||
};
|
||||
}
|
||||
@@ -1,30 +1,29 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, python
|
||||
, alembic, bugsnag, click, dropbox, fasteners, keyring, keyrings-alt, packaging, pathspec, Pyro5, requests, setuptools, sdnotify, sqlalchemy, survey, watchdog
|
||||
, alembic, click, desktop-notifier, dropbox, fasteners, keyring, keyrings-alt, packaging, pathspec, Pyro5, requests, setuptools, sdnotify, sqlalchemy, survey, watchdog
|
||||
, importlib-metadata
|
||||
, importlib-resources
|
||||
, dbus-next
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "maestral";
|
||||
version = "1.3.1";
|
||||
version = "1.4.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SamSchott";
|
||||
repo = "maestral";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-SspyTdmAbbmWN3AqVp9bj/QfAKLVgU2bLiiHjZO0aCM=";
|
||||
sha256 = "sha256-ibAYuaPSty275/aQ0DibyWe2LjPoEpdWgElTnR+MEs8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
alembic
|
||||
bugsnag
|
||||
click
|
||||
desktop-notifier
|
||||
dropbox
|
||||
fasteners
|
||||
keyring
|
||||
@@ -42,8 +41,6 @@ buildPythonPackage rec {
|
||||
importlib-metadata
|
||||
] ++ lib.optionals (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
dbus-next
|
||||
];
|
||||
|
||||
makeWrapperArgs = [
|
||||
|
||||
36
pkgs/development/python-modules/pyeight/default.nix
Normal file
36
pkgs/development/python-modules/pyeight/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyeight";
|
||||
version = "0.1.5";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mezz64";
|
||||
repo = "pyEight";
|
||||
rev = version;
|
||||
sha256 = "1wzmjqs8zx611b71ip7a0phyas96vxpq8xpnhrirfi9l09kdjgsw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pyeight" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to interface with the Eight Sleep API";
|
||||
homepage = "https://github.com/mezz64/pyEight";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "survey";
|
||||
version = "3.1.1";
|
||||
version = "3.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-R/PfXW/CnqYiOWbCxPAYwneg6j6CLvdIpITZ2eIXn+M=";
|
||||
sha256 = "sha256-aF7ZS5oxeIOb7mJsrusdc3HefcPE+3OTXcJB/pjJxFY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "watchdog";
|
||||
version = "1.0.2";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-N2y8KjXAOSsP5/8W+8GzA/2Z1N2ZEatVge6daa3IiYI=";
|
||||
sha256 = "sha256-/UtWz74NDZxPxDGs7KdXAKfxLTc33C6csuwrpkloBCU=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wrapio";
|
||||
version = "0.3.8";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-jGupLh+xzwil+VBtAjIG+ZYT+dy+QaZOTIfipTQeyWo";
|
||||
sha256 = "sha256-JWcPsqZy1wM6/mbU3H0W3EkpLg0wrEUUg3pT/QrL+rE=";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
Reference in New Issue
Block a user