Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 458fde245b19
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 00bb62d4ab0d
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 6, 2019

  1. stlink: 1.3.0 -> 1.5.1

    Version bump
    No other changes
    regellosigkeitsaxiom authored and Matthieu Coudron committed Aug 6, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    cdepillabout Dennis Gosnell
    Copy the full SHA
    00bb62d View commit details
Showing with 7 additions and 5 deletions.
  1. +7 −5 pkgs/development/tools/misc/stlink/default.nix
12 changes: 7 additions & 5 deletions pkgs/development/tools/misc/stlink/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{ stdenv, fetchurl, cmake, libusb1 }:
{ stdenv, fetchFromGitHub, cmake, libusb1 }:

# IMPORTANT: You need permissions to access the stlink usb devices.
# Add services.udev.pkgs = [ pkgs.stlink ] to your configuration.nix

let
version = "1.3.0";
version = "1.5.1";
in
stdenv.mkDerivation {
name = "stlink-${version}";

src = fetchurl {
url = "https://github.com/texane/stlink/archive/${version}.tar.gz";
sha256 = "3e8cba21744d2c38a0557f6835a05189e1b98202931bb0183d22efc462c893dd";
src = fetchFromGitHub {
owner = "texane";
repo = "stlink";
rev = "v1.5.1";
sha256 = "1d5gxiqpsm8fc105cxlp27af9fk339fap5h6nay21x5a7n61jgyc";
};

buildInputs = [ cmake libusb1 ];