diff options
author | Ben Wolsieffer <benwolsieffer@gmail.com> | 2019-12-05 16:12:31 -0500 |
---|---|---|
committer | Ben Wolsieffer <benwolsieffer@gmail.com> | 2019-12-05 21:59:07 -0500 |
commit | 593fbef6ec493bcc2f770369da454b42564ea2e5 (patch) | |
tree | 853716c8432113ac41b34ac16628969500d703bf /pkgs/misc/meson-tools/default.nix | |
parent | d3ee140e9feaa344c6ea62443501090e25ec41f3 (diff) |
meson-tools: init at 0.1
Diffstat (limited to 'pkgs/misc/meson-tools/default.nix')
-rw-r--r-- | pkgs/misc/meson-tools/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/misc/meson-tools/default.nix b/pkgs/misc/meson-tools/default.nix new file mode 100644 index 0000000000000..02b162c88098d --- /dev/null +++ b/pkgs/misc/meson-tools/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub, openssl }: + +stdenv.mkDerivation rec { + pname = "meson-tools"; + version = "0.1"; + + src = fetchFromGitHub { + owner = "afaerber"; + repo = pname; + rev = "v${version}"; + sha256 = "1bvshfa9pa012yzdwapi3nalpgcwmfq7d3n3w3mlr357a6kq64qk"; + }; + + buildInputs = [ openssl ]; + + installPhase = '' + mkdir -p "$out/bin" + mv amlbootsig unamlbootsig amlinfo "$out/bin" + ''; + + meta = with lib; { + homepage = "https://github.com/afaerber/meson-tools"; + description = "Tools for Amlogic Meson ARM platforms"; + license = licenses.gpl2; + maintainers = with maintainers; [ lopsided98 ]; + }; +} |