uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
35
pkgs/development/libraries/libmikmod/default.nix
Normal file
35
pkgs/development/libraries/libmikmod/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchurl, texinfo, alsa-lib, libpulseaudio, CoreAudio }:
|
||||
|
||||
let
|
||||
inherit (lib) optional optionalString;
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "libmikmod";
|
||||
version = "3.3.11.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/mikmod/libmikmod-${version}.tar.gz";
|
||||
sha256 = "06bdnhb0l81srdzg6gn2v2ydhhaazza7rshrcj3q8dpqr3gn97dd";
|
||||
};
|
||||
|
||||
buildInputs = [ texinfo ]
|
||||
++ optional stdenv.isLinux alsa-lib
|
||||
++ optional stdenv.isDarwin CoreAudio;
|
||||
propagatedBuildInputs =
|
||||
optional stdenv.isLinux libpulseaudio;
|
||||
|
||||
NIX_LDFLAGS = optionalString stdenv.isLinux "-lasound";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for playing tracker music module files";
|
||||
homepage = "https://mikmod.shlomifish.org/";
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = with maintainers; [ astsmtl lovek323 ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
longDescription = ''
|
||||
A library for playing tracker music module files supporting many formats,
|
||||
including MOD, S3M, IT and XM.
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue