diff options
author | Felix Buehler <account@buehler.rocks> | 2021-06-20 16:15:21 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-06-30 09:45:11 +0200 |
commit | 3c12e95ad18367c92865bd13aef68c402fa76036 (patch) | |
tree | 56b6a222ef8b51958e8282d9c70cee73cc756a8b /pkgs/development/libraries/libserialport | |
parent | c1416deae1c0c085a3c7bd7e3c916a6c9dcf4f3e (diff) |
development: /s/name/pname&version/
Diffstat (limited to 'pkgs/development/libraries/libserialport')
-rw-r--r-- | pkgs/development/libraries/libserialport/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libserialport/default.nix b/pkgs/development/libraries/libserialport/default.nix index 0a2adc4126f15..79f46ffca1f83 100644 --- a/pkgs/development/libraries/libserialport/default.nix +++ b/pkgs/development/libraries/libserialport/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl, pkg-config, udev, darwin }: stdenv.mkDerivation rec { - name = "libserialport-0.1.1"; + pname = "libserialport"; + version = "0.1.1"; src = fetchurl { - url = "https://sigrok.org/download/source/libserialport/${name}.tar.gz"; + url = "https://sigrok.org/download/source/libserialport/${pname}-${version}.tar.gz"; sha256 = "17ajlwgvyyrap8z7f16zcs59pksvncwbmd3mzf98wj7zqgczjaja"; }; |