teensy-loader-cli: 2.1+unstable=2021-04-10 -> 2.2 (#198461)
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
This commit is contained in:
parent
e08821f0b6
commit
af90e66439
@ -6,15 +6,15 @@
|
|||||||
, libusb-compat-0_1
|
, libusb-compat-0_1
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "teensy-loader-cli";
|
pname = "teensy-loader-cli";
|
||||||
version = "2.1+unstable=2021-04-10";
|
version = "2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PaulStoffregen";
|
owner = "PaulStoffregen";
|
||||||
repo = "teensy_loader_cli";
|
repo = "teensy_loader_cli";
|
||||||
rev = "9dbbfa3b367b6c37e91e8a42dae3c6edfceccc4d";
|
rev = finalAttrs.version;
|
||||||
sha256 = "lQ1XtaWPr6nvE8NArD1980QVOH6NggO3FlfsntUjY7s=";
|
sha256 = "sha256-C9Qhd6LhAES7X0sh4rofjAM+gxwuosahVQHeR76LyIo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
|
|||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
install -Dm555 teensy_loader_cli $out/bin/teensy-loader-cli
|
install -Dm555 teensy_loader_cli $out/bin/teensy-loader-cli
|
||||||
install -Dm444 -t $out/share/doc/${pname} *.md *.txt
|
install -Dm444 -t $out/share/doc/teensy-loader-cli *.md *.txt
|
||||||
go-md2man -in README.md -out ${pname}.1
|
go-md2man -in README.md -out teensy-loader-cli.1
|
||||||
installManPage *.1
|
installManPage *.1
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
@ -43,4 +43,4 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user