File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
pkgs/by-name/mp/mp3blaster Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 88 SDL ,
99} :
1010
11- stdenv . mkDerivation rec {
11+ stdenv . mkDerivation ( finalAttrs : {
1212 pname = "mp3blaster" ;
1313 version = "3.2.6" ;
1414
1515 src = fetchFromGitHub {
1616 owner = "stragulus" ;
1717 repo = "mp3blaster" ;
18- rev = "v${ version } " ;
19- sha256 = "0pzwml3yhysn8vyffw9q9p9rs8gixqkmg4n715vm23ib6wxbliqs " ;
18+ tag = "v${ finalAttrs . version } " ;
19+ hash = "sha256-Gke6OjcrDlF3CceSVyfu8SGd0004cef8RlZ76Aet/F8= " ;
2020 } ;
2121
2222 patches = [
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 ( fetchpatch {
2626 name = "ncurses-6.3.patch" ;
2727 url = "https://github.com/stragulus/mp3blaster/commit/62168cba5eaba6ffe56943552837cf033cfa96ed.patch" ;
28- sha256 = "088l27kl1l58lwxfnw5x2n64sdjy925ycphni3icwag7zvpj0xz1 " ;
28+ hash = "sha256-4Xcg7/7nKc7iiBZe5otIXjZNjBW9cOs6p6jQQOcRFCE= " ;
2929 } )
3030 ] ;
3131
@@ -40,14 +40,15 @@ stdenv.mkDerivation rec {
4040 ]
4141 ++ lib . optionals stdenv . cc . isClang [
4242 "-Wno-reserved-user-defined-literal"
43+ "-Wno-register"
4344 ]
4445 ) ;
4546
46- meta = with lib ; {
47+ meta = {
4748 description = "Audio player for the text console" ;
4849 homepage = "http://www.mp3blaster.org/" ;
49- license = licenses . gpl2 ;
50- maintainers = with maintainers ; [ earldouglas ] ;
51- platforms = with platforms ; linux ++ darwin ;
50+ license = lib . licenses . gpl2 ;
51+ maintainers = with lib . maintainers ; [ earldouglas ] ;
52+ platforms = with lib . platforms ; linux ++ darwin ;
5253 } ;
53- }
54+ } )
You can’t perform that action at this time.
0 commit comments