From 42bfaab927cbdc71c96ffdda85e13cdd2da37aa7 Mon Sep 17 00:00:00 2001 From: Niclas <33751841+countingsort@users.noreply.github.com> Date: Tue, 28 Aug 2018 23:18:55 +0200 Subject: [PATCH] bunny: init at 1.1 (#45714) * bunny: init at 1.1 Motivation for this change Pretty useful not to have to think about what system you're on when doing basic (un)installation tasks. * Fixed typo --- maintainers/maintainer-list.nix | 5 ++++ .../package-management/bunny/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 32 insertions(+) create mode 100644 pkgs/tools/package-management/bunny/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 093a2aae86b2..1d6d772e7e95 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -832,6 +832,11 @@ github = "couchemar"; name = "Andrey Pavlov"; }; + countingsort = { + email = "niclas@countingsort.com"; + github = "countingsort"; + name = "Niclas Meyer"; + }; cpages = { email = "page@ruiec.cat"; github = "cpages"; diff --git a/pkgs/tools/package-management/bunny/default.nix b/pkgs/tools/package-management/bunny/default.nix new file mode 100644 index 000000000000..c73f3fb524cd --- /dev/null +++ b/pkgs/tools/package-management/bunny/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitLab }: + +stdenv.mkDerivation rec { + name = "bunny-${version}"; + version = "1.1"; + + src = fetchFromGitLab { + owner = "tim241"; + repo = "bunny"; + rev = version; + sha256 = "0mxhj23fscbyqb9hfpmimgjn6nbx1lx3dl2msgwdy281zs25w8ki"; + }; + + dontBuild = true; + + makeFlags = [ "prefix=$(out)" ]; + + meta = with stdenv.lib; { + description = "A simple shell script wrapper around multiple package managers"; + homepage = https://gitlab.com/tim241/bunny; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ countingsort ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ace56296ea51..7654b56da120 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -635,6 +635,8 @@ with pkgs; bonfire = callPackage ../tools/misc/bonfire { }; + bunny = callPackage ../tools/package-management/bunny { }; + cloud-sql-proxy = callPackage ../tools/misc/cloud-sql-proxy { }; container-linux-config-transpiler = callPackage ../development/tools/container-linux-config-transpiler { };