diff options
author | kashw2 <supra4keanu@hotmail.com> | 2023-09-19 06:51:59 +1000 |
---|---|---|
committer | kashw2 <supra4keanu@hotmail.com> | 2023-09-19 06:52:14 +1000 |
commit | 45a3bafb6c715e84c5664bf329fda5d516a26746 (patch) | |
tree | 04c119ec2a3f0de25f12e4a20b2de034faf2a26c /pkgs/tools/misc/staruml | |
parent | 839b721ba2e5fd366e945759610e78a2df0f7525 (diff) |
staruml: use `finalAttrs` pattern
Diffstat (limited to 'pkgs/tools/misc/staruml')
-rw-r--r-- | pkgs/tools/misc/staruml/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/misc/staruml/default.nix b/pkgs/tools/misc/staruml/default.nix index 6160d2159a490..388a407a52b75 100644 --- a/pkgs/tools/misc/staruml/default.nix +++ b/pkgs/tools/misc/staruml/default.nix @@ -23,12 +23,12 @@ let cups ]; in -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { version = "6.0.1"; pname = "staruml"; src = fetchurl { - url = "https://files.staruml.io/releases-v6/StarUML_${version}_amd64.deb"; + url = "https://files.staruml.io/releases-v6/StarUML_${finalAttrs.version}_amd64.deb"; sha256 = "sha256-LxulOfYjdJrDjRL661S0W9slIXvhLc+kXZN6e3TfXVs="; }; @@ -76,4 +76,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ kashw2 ]; platforms = [ "x86_64-linux" ]; }; -} +}) |