python3Packages.pydsdl: init at 1.4.2
This commit is contained in:
parent
79b919e75b
commit
3f50371a61
37
pkgs/development/python-modules/pydsdl/default.nix
Normal file
37
pkgs/development/python-modules/pydsdl/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pydsdl";
|
||||||
|
version = "1.4.2";
|
||||||
|
disabled = pythonOlder "3.5"; # only python>=3.5 is supported
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "UAVCAN";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "03kbpzdrjzj5vpgz5rhc110pm1axdn3ynv88b42zq6iyab4k8k1x";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
];
|
||||||
|
|
||||||
|
# allow for writable directory for darwin
|
||||||
|
preBuild = ''
|
||||||
|
export HOME=$TMPDIR
|
||||||
|
'';
|
||||||
|
|
||||||
|
# repo doesn't contain tests, ensure imports aren't broken
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pydsdl"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A UAVCAN DSDL compiler frontend implemented in Python";
|
||||||
|
longDescription = ''
|
||||||
|
It supports all DSDL features defined in the UAVCAN specification.
|
||||||
|
'';
|
||||||
|
homepage = "https://uavcan.org";
|
||||||
|
maintainers = with maintainers; [ wucke13 ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -1287,6 +1287,8 @@ in {
|
|||||||
|
|
||||||
pyscreenshot = callPackage ../development/python-modules/pyscreenshot { };
|
pyscreenshot = callPackage ../development/python-modules/pyscreenshot { };
|
||||||
|
|
||||||
|
pydsdl = callPackage ../development/python-modules/pydsdl { };
|
||||||
|
|
||||||
pyside = callPackage ../development/python-modules/pyside {
|
pyside = callPackage ../development/python-modules/pyside {
|
||||||
inherit (pkgs) mesa;
|
inherit (pkgs) mesa;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user