diff options
author | Bruno Bzeznik <Bruno.Bzeznik@imag.fr> | 2024-01-11 16:44:43 +0100 |
---|---|---|
committer | Bruno Bzeznik <Bruno.Bzeznik@imag.fr> | 2024-01-14 18:21:30 +0100 |
commit | 1fdb3bb1c1f78329cd93ee972f8e7f0bc3f771fc (patch) | |
tree | 852f89155ba03540fc9bf906be1d00fd8613e4eb /pkgs/by-name/po | |
parent | 6a9e3f4d550a12e500f2ab91a529bdca679b0b44 (diff) |
pololu-tic: init at 1.8.1
Diffstat (limited to 'pkgs/by-name/po')
-rw-r--r-- | pkgs/by-name/po/pololu-tic/package.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/by-name/po/pololu-tic/package.nix b/pkgs/by-name/po/pololu-tic/package.nix new file mode 100644 index 0000000000000..f34f8d27affac --- /dev/null +++ b/pkgs/by-name/po/pololu-tic/package.nix @@ -0,0 +1,47 @@ +{ lib +, stdenv +, fetchFromGitHub +, libusbp +, cmake +, pkg-config +, qt5 +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "pololu-tic"; + version = "1.8.1"; + + src = fetchFromGitHub { + owner = "pololu"; + repo = "pololu-tic-software"; + rev = "refs/tags/${finalAttrs.version}"; + sha256 = "sha256-C/v5oaC5zZwm+j9CbFaDW+ebzHxPVb8kZLg9c0HyPbc="; + }; + + outputs = [ + "out" + "dev" + ]; + + nativeBuildInputs = [ + cmake + pkg-config + qt5.wrapQtAppsHook + ]; + + propagatedBuildInputs = [ + libusbp + ]; + + buildInputs = [ + qt5.qtbase + ]; + + meta = with lib; { + homepage = "https://github.com/pololu/pololu-tic-software"; + description = "Pololu Tic stepper motor controller software"; + platforms = platforms.all; + license = licenses.cc-by-sa-30; + maintainers = with maintainers; [ bzizou ]; + }; +}) |