From ef321f539d8dff4cfbf69919abfea77737f4f8d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Wed, 5 Nov 2014 21:21:58 +0100 Subject: [PATCH] opkg-utils: new package Helper scripts for use with the opkg package manager. Upstream doesn't do releases it seems, so I'm packaging the latest git version. --- .../package-management/opkg-utils/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/tools/package-management/opkg-utils/default.nix diff --git a/pkgs/tools/package-management/opkg-utils/default.nix b/pkgs/tools/package-management/opkg-utils/default.nix new file mode 100644 index 00000000000..9a197ca763a --- /dev/null +++ b/pkgs/tools/package-management/opkg-utils/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchgit }: + +stdenv.mkDerivation rec { + name = "opkg-utils-20141030"; + + # No releases, only a git tree + src = fetchgit { + url = "git://git.yoctoproject.org/opkg-utils"; + rev = "762d9dadce548108d4204c2113461a7dd6f57e60"; + sha256 = "a450643fa1353b872166a3d462297fb2eb240554eed7a9186645ffd72b353417"; + }; + + preBuild = '' + makeFlagsArray+=(PREFIX="$out") + ''; + + meta = with stdenv.lib; { + description = "Helper scripts for use with the opkg package manager"; + homepage = http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/; + license = licenses.gpl2; + platforms = platforms.all; + maintainers = [ maintainers.bjornfor ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dbe7f534564..8bde3f44c88 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12319,6 +12319,8 @@ let opkg = callPackage ../tools/package-management/opkg { }; + opkg-utils = callPackage ../tools/package-management/opkg-utils { }; + pgadmin = callPackage ../applications/misc/pgadmin { }; pgf = pgf2;