Merge pull request #256810 from aaronjheng/trunk-io
trunk-io: use finalAttrs
This commit is contained in:
commit
aa2e0493b1
|
@ -1,11 +1,11 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "trunk-io";
|
||||
version = "1.2.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://trunk.io/releases/launcher/${version}/trunk";
|
||||
url = "https://trunk.io/releases/launcher/${finalAttrs.version}/trunk";
|
||||
hash = "sha256-i2m+6Y6gvkHYwzESJv0DkLcHkXqz+g4e43TV6u1UTj8=";
|
||||
};
|
||||
|
||||
|
@ -25,4 +25,4 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ aaronjheng ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue