stlink: inline version info
This commit is contained in:
parent
2936fa8f1f
commit
5341720ca7
@ -3,17 +3,14 @@
|
|||||||
# IMPORTANT: You need permissions to access the stlink usb devices.
|
# IMPORTANT: You need permissions to access the stlink usb devices.
|
||||||
# Add services.udev.pkgs = [ pkgs.stlink ] to your configuration.nix
|
# Add services.udev.pkgs = [ pkgs.stlink ] to your configuration.nix
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "1.6.0";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "stlink";
|
pname = "stlink";
|
||||||
inherit version;
|
version = "1.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "texane";
|
owner = "texane";
|
||||||
repo = "stlink";
|
repo = "stlink";
|
||||||
rev = "v1.6.0";
|
rev = "v${version}";
|
||||||
sha256 = "1mlkrxjxg538335g59hjb0zc739dx4mhbspb26z5gz3lf7d4xv6x";
|
sha256 = "1mlkrxjxg538335g59hjb0zc739dx4mhbspb26z5gz3lf7d4xv6x";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user