mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
flac123: 0.0.12 -> 2.1.1, reformat, move to pkgs/by-name
This commit is contained in:
parent
9a4fc03ff4
commit
23c0e1d7d6
@ -1,22 +0,0 @@
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, flac, libao, libogg, popt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flac123";
|
||||
version = "0.0.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/flac-tools/${pname}-${version}-release.tar.gz";
|
||||
sha256 = "0zg4ahkg7v81za518x32wldf42g0rrvlrcqhrg9sv3li9bayyxhr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ flac libao libogg popt ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://flac-tools.sourceforge.net/";
|
||||
description = "A command-line program for playing FLAC audio files";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.all;
|
||||
mainProgram = "flac123";
|
||||
};
|
||||
}
|
38
pkgs/by-name/fl/flac123/package.nix
Normal file
38
pkgs/by-name/fl/flac123/package.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
flac,
|
||||
libao,
|
||||
libogg,
|
||||
popt,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "flac123";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flac123";
|
||||
repo = "flac123";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-LtL69t2r9TlIkpQWZLge8ib7NZ5rvLW6JllG2UM16Kw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [
|
||||
flac
|
||||
libao
|
||||
libogg
|
||||
popt
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/flac123/flac123";
|
||||
description = "A command-line program for playing FLAC audio files";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ kiike ];
|
||||
mainProgram = "flac123";
|
||||
};
|
||||
})
|
@ -8109,8 +8109,6 @@ with pkgs;
|
||||
|
||||
fim = callPackage ../tools/graphics/fim { };
|
||||
|
||||
flac123 = callPackage ../applications/audio/flac123 { };
|
||||
|
||||
flamegraph = callPackage ../development/tools/flamegraph { };
|
||||
|
||||
flawfinder = callPackage ../development/tools/flawfinder { };
|
||||
|
Loading…
Reference in New Issue
Block a user