Merge pull request #255968 from kashw2/staruml

staruml: 6.0.0 -> 6.0.1; use `finalAttrs` pattern
This commit is contained in:
Fabián Heredia Montiel 2023-09-19 22:16:37 -06:00 committed by GitHub
commit c2d52464f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,14 +23,13 @@ let
cups
];
in
stdenv.mkDerivation rec {
version = "6.0.0";
stdenv.mkDerivation (finalAttrs: {
version = "6.0.1";
pname = "staruml";
src =
fetchurl {
url = "https://files.staruml.io/releases-v6/StarUML_${version}_amd64.deb";
sha256 = "sha256-g35d9YcZrP4D8X9NU84Fz0qmb/2lUUOuZ30iIwgThA0=";
src = fetchurl {
url = "https://files.staruml.io/releases-v6/StarUML_${finalAttrs.version}_amd64.deb";
sha256 = "sha256-LxulOfYjdJrDjRL661S0W9slIXvhLc+kXZN6e3TfXVs=";
};
nativeBuildInputs = [ wrapGAppsHook dpkg ];
@ -77,4 +76,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ kashw2 ];
platforms = [ "x86_64-linux" ];
};
}
})