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/misc | |
parent | c1416deae1c0c085a3c7bd7e3c916a6c9dcf4f3e (diff) | |
download | nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.gz nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.bz2 nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.lz nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.xz nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.zst nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.zip |
development: /s/name/pname&version/
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r-- | pkgs/development/misc/avr8-burn-omat/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/misc/avr8-burn-omat/default.nix b/pkgs/development/misc/avr8-burn-omat/default.nix index 3364fe796e7..4b5793dc133 100644 --- a/pkgs/development/misc/avr8-burn-omat/default.nix +++ b/pkgs/development/misc/avr8-burn-omat/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl, unzip, runtimeShell }: -stdenv.mkDerivation { - name = "avr8-burn-omat-2.1.2"; +stdenv.mkDerivation rec { + pname = "avr8-burn-omat"; + version = "2.1.2"; src = fetchurl { - url = "http://avr8-burn-o-mat.aaabbb.de/AVR8_Burn-O-Mat_2_1_2.zip"; + url = "http://avr8-burn-o-mat.aaabbb.de/AVR8_Burn-O-Mat_${lib.replaceStrings ["."] ["_"] version}.zip"; sha256 = "02k0fd0cd3y1yqip36wr3bkxbywp8913w4y7jdg6qwqxjnii58ln"; }; |