distrobox: Use rec-less, overlay-style overridable recursive attributes
This commit is contained in:
parent
bb12353834
commit
f00c7e4a56
1 changed files with 4 additions and 4 deletions
|
@ -1,13 +1,13 @@
|
||||||
{ stdenvNoCC, lib, fetchFromGitHub, makeWrapper, wget }:
|
{ stdenvNoCC, lib, fetchFromGitHub, makeWrapper, wget }:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "distrobox";
|
pname = "distrobox";
|
||||||
version = "1.5.0.2";
|
version = "1.5.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "89luca89";
|
owner = "89luca89";
|
||||||
repo = pname;
|
repo = finalAttrs.pname;
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
sha256 = "sha256-ss8049D6n1V/gDzEMjywDnoke5s2we9j3mO8yta72UA=";
|
sha256 = "sha256-ss8049D6n1V/gDzEMjywDnoke5s2we9j3mO8yta72UA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -44,4 +44,4 @@ stdenvNoCC.mkDerivation rec {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ atila ];
|
maintainers = with maintainers; [ atila ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue