Skip to content

Commit

Permalink
pololu-tic: init at 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bzizou committed Jan 14, 2024
1 parent 6a9e3f4 commit 1fdb3bb
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 4 deletions.
14 changes: 10 additions & 4 deletions pkgs/by-name/li/libusbp/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ stdenv.mkDerivation(finalAttrs: {
src = fetchFromGitHub {
owner = "pololu";
repo = "libusbp";
rev = "refs/tags/${finalAttrs.version}";
sha256 = "sha256-60xpJ97GlqEcy2+pxGNGPfWDnbIFGoPXJijaErOBXQs=";
rev = finalAttrs.version;
hash = "sha256-60xpJ97GlqEcy2+pxGNGPfWDnbIFGoPXJijaErOBXQs=";
};

outputs = [ "out" "dev" ];

nativeBuildInputs = [ cmake pkg-config ];
propagatedBuildInputs = [ udev ];
nativeBuildInputs = [
cmake
pkg-config
];

propagatedBuildInputs = [
udev
];

meta = with lib; {
homepage = "https://github.com/pololu/libusbp";
Expand Down
47 changes: 47 additions & 0 deletions pkgs/by-name/po/pololu-tic/package.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
})

0 comments on commit 1fdb3bb

Please sign in to comment.