uboot: use pname and cleanup version specification
This commit is contained in:
parent
26079c4da7
commit
404773e336
|
@ -4,7 +4,8 @@
|
|||
}:
|
||||
|
||||
let
|
||||
buildUBoot = { filesToInstall
|
||||
buildUBoot = { version ? "2018.09"
|
||||
, filesToInstall
|
||||
, installDir ? "$out"
|
||||
, defconfig
|
||||
, extraConfig ? ""
|
||||
|
@ -14,8 +15,8 @@ let
|
|||
, ... } @ args:
|
||||
stdenv.mkDerivation (rec {
|
||||
|
||||
name = "uboot-${defconfig}-${version}";
|
||||
version = args.version or "2018.09";
|
||||
pname = "uboot-${defconfig}";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
sha256 = "189f7h6wj2yrcc5ga103jnyysykf9j3j9p1vcy7791bxwxqxnggf";
|
||||
};
|
||||
in buildUBoot rec {
|
||||
name = "uboot-${defconfig}-${version}";
|
||||
version = "2017.09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
sha256 = "189f7h6wj2yrcc5ga103jnyysykf9j3j9p1vcy7791bxwxqxnggf";
|
||||
};
|
||||
in buildUBoot rec {
|
||||
name = "uboot-${defconfig}-${version}";
|
||||
version = "2017.09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
|
Loading…
Reference in a new issue