mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
Merge pull request #255968 from kashw2/staruml
staruml: 6.0.0 -> 6.0.1; use `finalAttrs` pattern
This commit is contained in:
commit
c2d52464f9
@ -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" ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user