Merge branch 'staging-next' into staging

This commit is contained in:
Jan Tojnar
2021-05-13 11:42:36 +02:00
36 changed files with 551 additions and 220 deletions
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "2.6.6";
version = "2.7.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-LdBUtU5rNoixh7DPIFkHxLMvBeI6MZH57sO0IjuOQAw=";
sha256 = "sha256-PCoSJnt8EptVq5u0+NgEBwY6zLkD87XqVRBDdqBziM8=";
};
propagatedBuildInputs = [ attrs protobuf zeroconf ];
@@ -1,37 +0,0 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
, django, futures ? null, mock ? null, jinja2, jsmin, slimit }:
buildPythonPackage rec {
pname = "django-pipeline";
version = "1.6.14";
# no tests on PyPI
src = fetchFromGitHub {
owner = "jazzband";
repo = pname;
rev = version;
sha256 = "1xf732bd17mgha75jfhlnms46ib2pffhpfa0ca7bmng9jhbvsl9j";
};
postPatch = ''
substituteInPlace tests/tests/test_compiler.py \
--replace "/usr/bin/env" ""
'';
propagatedBuildInputs = [ django ] ++ lib.optional (!isPy3k) futures;
checkInputs = [ jinja2 jsmin slimit ] ++ lib.optional (!isPy3k) mock;
checkPhase = ''
export PYTHONPATH=.:$PYTHONPATH
export DJANGO_SETTINGS_MODULE=tests.settings
${django}/bin/django-admin.py test tests
'';
meta = with lib; {
description = "Pipeline is an asset packaging library for Django";
homepage = "https://github.com/cyberdelia/django-pipeline";
license = licenses.mit;
broken = true;
};
}
@@ -4,6 +4,8 @@
, glibcLocales
, setuptools_scm
, wcwidth
, importlib-metadata
, pythonOlder
}:
buildPythonPackage rec {
@@ -18,7 +20,11 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools_scm ];
buildInputs = [ glibcLocales ];
propagatedBuildInputs = [ wcwidth ];
propagatedBuildInputs = [
wcwidth
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
preCheck = ''
export LANG="en_US.UTF-8"
@@ -1,17 +1,17 @@
version: {
x86_64-linux-37 = {
name = "torch-${version}-cp37-cp37m-linux_x86_64.whl";
url = "https://download.pytorch.org/whl/cu102/torch-${version}%2Bcu102-cp37-cp37m-linux_x86_64.whl";
hash = "sha256-79JK2gGlV5Lhbim7GgPCjk++brwpUQE7g7vsrBu06eE=";
url = "https://download.pytorch.org/whl/cu111/torch-${version}%2Bcu111-cp37-cp37m-linux_x86_64.whl";
hash = "sha256-lxj066PiB+S88GqQnXKgd9RCiKkMk3mctx/eBieZjAk=";
};
x86_64-linux-38 = {
name = "torch-${version}-cp38-cp38-linux_x86_64.whl";
url = "https://download.pytorch.org/whl/cu102/torch-${version}%2Bcu102-cp38-cp38-linux_x86_64.whl";
hash = "sha256-16h90SdxAgFxmPpgUPA3rBGxs9dtFaCeAgeSpKmtnmQ=";
url = "https://download.pytorch.org/whl/cu111/torch-${version}%2Bcu111-cp38-cp38-linux_x86_64.whl";
hash = "sha256-qvTQMLz4CQPgalzUyYwz6rm+ExyWlIzI+FSMQhxM4eM=";
};
x86_64-linux-39 = {
name = "torch-${version}-cp39-cp39-linux_x86_64.whl";
url = "https://download.pytorch.org/whl/cu102/torch-${version}%2Bcu102-cp39-cp39-linux_x86_64.whl";
hash = "sha256-E3RLWpGYbRuKsz0pQv7npmC7WTbdvlYFaxXQYBKT2/8=";
url = "https://download.pytorch.org/whl/cu111/torch-${version}%2Bcu111-cp39-cp39-linux_x86_64.whl";
hash = "sha256-z0pzEiljU+E2x2SuOEAg86dmVY1iFZSDOCfoOAFhLQo=";
};
}