Skip to content

Commit

Permalink
bpm-tools: init at 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar authored and Lassulus committed Oct 4, 2019
1 parent fa4b518 commit 7ff17ce
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/tools/audio/bpm-tools/default.nix
@@ -0,0 +1,32 @@
{
stdenv,
fetchurl,
}:

stdenv.mkDerivation rec {
pname = "bpm-tools";
version = "0.3";

src = fetchurl {
url = "http://www.pogo.org.uk/~mark/bpm-tools/releases/bpm-tools-${version}.tar.gz";
sha256 = "151vfbs8h3cibs7kbdps5pqrsxhpjv16y2iyfqbxzsclylgfivrp";
};

patchPhase = ''
patchShebangs bpm-tag
patchShebangs bpm-graph
'';

installFlags = [
"PREFIX=${placeholder "out"}"
];

meta = with stdenv.lib; {
homepage = "http://www.pogo.org.uk/~mark/bpm-tools/";
description = "Automatically calculate BPM (tempo) of music files";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = with maintainers; [ doronbehar ];
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -9309,6 +9309,8 @@ in

bpftool = callPackage ../os-specific/linux/bpftool { };

bpm-tools = callPackage ../tools/audio/bpm-tools { };

byacc = callPackage ../development/tools/parsing/byacc { };

cadre = callPackage ../development/tools/cadre { };
Expand Down

0 comments on commit 7ff17ce

Please sign in to comment.