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.
|
||||
# Add services.udev.pkgs = [ pkgs.stlink ] to your configuration.nix
|
||||
|
||||
let
|
||||
version = "1.6.0";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "stlink";
|
||||
inherit version;
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "texane";
|
||||
repo = "stlink";
|
||||
rev = "v1.6.0";
|
||||
rev = "v${version}";
|
||||
sha256 = "1mlkrxjxg538335g59hjb0zc739dx4mhbspb26z5gz3lf7d4xv6x";
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user