Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a2bd8da766c7
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2d0a2044b3cc
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 17, 2019

  1. libbass: update and use real version numbers

    Upstream doesn't indeed have any way of getting versioned library, as per
    http://www.un4seen.com/forum/?topic=18614.0.
    abbradar committed Aug 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    Mic92 Jörg Thalheim
    Copy the full SHA
    2d0a204 View commit details
Showing with 12 additions and 6 deletions.
  1. +12 −6 pkgs/development/libraries/audio/libbass/default.nix
18 changes: 12 additions & 6 deletions pkgs/development/libraries/audio/libbass/default.nix
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
{ stdenv, unzip, fetchurl }:

let
version = "24";
# Upstream changes files in-place, to update:
# 1. Check latest version at http://www.un4seen.com/
# 2. Update `version`s and `sha256` sums.
# See also http://www.un4seen.com/forum/?topic=18614.0

let
allBass = {
bass = {
h = "bass.h";
version = "2.4.14";
so = {
i686_linux = "libbass.so";
x86_64-linux = "x64/libbass.so";
};
urlpath = "bass${version}-linux.zip";
sha256 = "1hjxp1akj8367qlglv5rqpwq2dimfz3bkllwq39abavz4sp8smjz";
urlpath = "bass24-linux.zip";
sha256 = "1nyzs08z0djyvz6jx1y9y99y0ksp4sxz9l2x43k1c9irls24xpfy";
};

bass_fx = {
h = "C/bass_fx.h";
version = "2.4.12.1";
so = {
i686_linux = "libbass_fx.so";
x86_64-linux = "x64/libbass_fx.so";
};
urlpath = "z/0/bass_fx${version}-linux.zip";
urlpath = "z/0/bass_fx24-linux.zip";
sha256 = "1q0g74z7iyhxqps5b3gnnbic8v2jji1r0mkvais57lsx8y21sbin";
};
};

dropBass = name: bass: stdenv.mkDerivation {
name = "lib${name}-${version}";
pname = "lib${name}";
inherit (bass) version;

src = fetchurl {
url = "https://www.un4seen.com/files/${bass.urlpath}";