staruml: use finalAttrs
pattern
This commit is contained in:
parent
839b721ba2
commit
45a3bafb6c
|
@ -23,12 +23,12 @@ let
|
||||||
cups
|
cups
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
version = "6.0.1";
|
version = "6.0.1";
|
||||||
pname = "staruml";
|
pname = "staruml";
|
||||||
|
|
||||||
src = fetchurl {
|
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=";
|
sha256 = "sha256-LxulOfYjdJrDjRL661S0W9slIXvhLc+kXZN6e3TfXVs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -76,4 +76,4 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ kashw2 ];
|
maintainers = with maintainers; [ kashw2 ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue