My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pydsdl/default.nix

36 lines
861 B

{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder }:
buildPythonPackage rec {
pname = "pydsdl";
version = "1.12.1";
disabled = pythonOlder "3.5"; # only python>=3.5 is supported
src = fetchFromGitHub {
owner = "UAVCAN";
repo = pname;
rev = version;
sha256 = "sha256-5AwwqduIvLSZk6WcI59frwRKwjniQXfNWWVsy6V6I1E=";
};
# allow for writable directory for darwin
preBuild = ''
export HOME=$TMPDIR
'';
# repo doesn't contain tests
doCheck = false;
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;
};
}