Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fa4b5185b396
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7ff17ce730c4
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Oct 4, 2019

  1. bpm-tools: init at 0.3

    doronbehar authored and Lassulus committed Oct 4, 2019
    Copy the full SHA
    7ff17ce View commit details
Showing with 34 additions and 0 deletions.
  1. +32 −0 pkgs/tools/audio/bpm-tools/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
32 changes: 32 additions & 0 deletions pkgs/tools/audio/bpm-tools/default.nix
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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 { };