Merge pull request #112072 from rmcgibbo/nunavut

This commit is contained in:
Sandro 2021-02-05 22:43:20 +01:00 committed by GitHub
commit da132395c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 10 deletions

View File

@ -1,13 +1,18 @@
{ lib, buildPythonPackage, pythonOlder, fetchPypi, pydsdl }:
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pydsdl
}:
buildPythonPackage rec {
pname = "nunavut";
version = "0.6.2";
version = "1.0.1";
disabled = pythonOlder "3.5"; # only python>=3.5 is supported
src = fetchPypi {
inherit pname version;
sha256 = "48b6802722d78542ca5d7bbc0d6aa9b0a31e1be0070c47b41527f227eb6a1443";
sha256 = "1gvs3fx2l15y5ffqsxxjfa4p1ydaqbq7qp5nsgb8jbz871358jxm";
};
propagatedBuildInputs = [
@ -19,7 +24,10 @@
export HOME=$TMPDIR
'';
# repo doesn't contain tests, ensure imports aren't broken
# No tests in pypy package and no git tags yet for release versions, see
# https://github.com/UAVCAN/nunavut/issues/182
doCheck = false;
pythonImportsCheck = [
"nunavut"
];

View File

@ -2,25 +2,24 @@
buildPythonPackage rec {
pname = "pydsdl";
version = "1.4.2";
version = "1.9.4";
disabled = pythonOlder "3.5"; # only python>=3.5 is supported
src = fetchFromGitHub {
owner = "UAVCAN";
repo = pname;
rev = version;
sha256 = "03kbpzdrjzj5vpgz5rhc110pm1axdn3ynv88b42zq6iyab4k8k1x";
sha256 = "1hmmc4sg6dckbx2ghcjpi74yprapa6lkxxzy0h446mvyngp0kwfv";
};
propagatedBuildInputs = [
];
# allow for writable directory for darwin
preBuild = ''
export HOME=$TMPDIR
'';
# repo doesn't contain tests, ensure imports aren't broken
# repo doesn't contain tests
doCheck = false;
pythonImportsCheck = [
"pydsdl"
];