From 631b2348f356ce7e3e46b3327b7adcd03abd51cd Mon Sep 17 00:00:00 2001 From: Lev Livnev Date: Sun, 19 May 2019 10:51:48 +0100 Subject: [PATCH 1/2] maintainers: add livnev --- maintainers/maintainer-list.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 426113b79189..c9de19dc93f0 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2927,6 +2927,15 @@ github = "listx"; name = "Linus Arver"; }; + livnev = { + email = "lev@liv.nev.org.uk"; + github = "livnev"; + name = "Lev Livnev"; + keys = [{ + longkeyid = "rsa2048/0x68FF81E6A7850F49"; + fingerprint = "74F5 E5CC 19D3 B5CB 608F 6124 68FF 81E6 A785 0F49"; + }]; + }; luis = { email = "luis.nixos@gmail.com"; github = "Luis-Hebendanz"; From cd032364b6598a175b80b1f5e26ec7f24b8f0141 Mon Sep 17 00:00:00 2001 From: Lev Livnev Date: Sun, 24 Feb 2019 18:08:35 +0000 Subject: [PATCH 2/2] tree-from-tags: init at 1.1 tree-from-tags is a tool for organising tagged audio into a tree, commonly used with bongo, a buffer-oriented media player for emacs --- .../applications/audio/tree-from-tags/Gemfile | 3 ++ .../audio/tree-from-tags/Gemfile.lock | 13 +++++++ .../audio/tree-from-tags/default.nix | 37 +++++++++++++++++++ .../audio/tree-from-tags/gemset.nix | 10 +++++ pkgs/top-level/all-packages.nix | 2 + 5 files changed, 65 insertions(+) create mode 100644 pkgs/applications/audio/tree-from-tags/Gemfile create mode 100644 pkgs/applications/audio/tree-from-tags/Gemfile.lock create mode 100644 pkgs/applications/audio/tree-from-tags/default.nix create mode 100644 pkgs/applications/audio/tree-from-tags/gemset.nix diff --git a/pkgs/applications/audio/tree-from-tags/Gemfile b/pkgs/applications/audio/tree-from-tags/Gemfile new file mode 100644 index 000000000000..24f308f3f423 --- /dev/null +++ b/pkgs/applications/audio/tree-from-tags/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem "taglib-ruby" diff --git a/pkgs/applications/audio/tree-from-tags/Gemfile.lock b/pkgs/applications/audio/tree-from-tags/Gemfile.lock new file mode 100644 index 000000000000..2ef77caa6f69 --- /dev/null +++ b/pkgs/applications/audio/tree-from-tags/Gemfile.lock @@ -0,0 +1,13 @@ +GEM + remote: https://rubygems.org/ + specs: + taglib-ruby (0.7.1) + +PLATFORMS + ruby + +DEPENDENCIES + taglib-ruby + +BUNDLED WITH + 1.16.3 diff --git a/pkgs/applications/audio/tree-from-tags/default.nix b/pkgs/applications/audio/tree-from-tags/default.nix new file mode 100644 index 000000000000..cdee979768cf --- /dev/null +++ b/pkgs/applications/audio/tree-from-tags/default.nix @@ -0,0 +1,37 @@ +{ stdenv, bundlerEnv, ruby, fetchFromGitHub }: +let + version = "1.1"; + gems = bundlerEnv { + name = "tree-from-tags-${version}-gems"; + inherit ruby; + gemdir = ./.; + }; +in stdenv.mkDerivation { + name = "tree-from-tags-${version}"; + src = fetchFromGitHub { + owner = "dbrock"; + repo = "bongo"; + rev = version; + sha256 = "1nszph9mn98flyhn1jq3y6mdh6jymjkvj5ng36ql016dj92apvhv"; + }; + buildInputs = [ gems ruby ]; + installPhase = '' + mkdir -p $out/{bin,share} + cp tree-from-tags.rb $out/share/ + bin=$out/bin/tree-from-tags +# we are using bundle exec to start in the bundled environment + cat > $bin <