nixpkgs/pkgs/development/libraries/libopenaptx/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
604 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "libopenaptx";
version = "0.1.0";
src = fetchFromGitHub {
owner = "pali";
repo = "libopenaptx";
rev = version;
sha256 = "0996qmkmbax7ccknxrd3bx8xibs79a1ffms69scsj59f3kgj6854";
};
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Audio Processing Technology codec (aptX)";
license = licenses.lgpl21Plus;
homepage = https://github.com/pali/libopenaptx;
platforms = platforms.linux;
maintainers = with maintainers; [ orivej ];
};
}