tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
sndio: move to finalAttrs explicitly use lib where needed
John Titor
2 years ago
987fc18a
32016912
+8
-8
1 changed file
expand all
collapse all
unified
split
pkgs
misc
sndio
default.nix
+8
-8
pkgs/misc/sndio/default.nix
···
1
{ lib, stdenv, fetchurl, alsa-lib, fixDarwinDylibNames }:
2
3
-
stdenv.mkDerivation rec {
4
pname = "sndio";
5
version = "1.9.0";
6
7
src = fetchurl {
8
-
url = "https://www.sndio.org/sndio-${version}.tar.gz";
9
-
sha256 = "sha256-8wgm/JwH42nTkk1fzt9qClPA30rh9atQ/pzygFQPaZo=";
10
};
11
12
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
···
19
20
enableParallelBuilding = true;
21
22
-
meta = with lib; {
23
homepage = "https://www.sndio.org";
24
description = "Small audio and MIDI framework part of the OpenBSD project";
25
-
license = licenses.isc;
26
-
maintainers = with maintainers; [ Madouura ];
27
-
platforms = platforms.all;
28
};
29
-
}
···
1
{ lib, stdenv, fetchurl, alsa-lib, fixDarwinDylibNames }:
2
3
+
stdenv.mkDerivation (finalAttrs: {
4
pname = "sndio";
5
version = "1.9.0";
6
7
src = fetchurl {
8
+
url = "https://www.sndio.org/sndio-${finalAttrs.version}.tar.gz";
9
+
hash = "sha256-8wgm/JwH42nTkk1fzt9qClPA30rh9atQ/pzygFQPaZo=";
10
};
11
12
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
···
19
20
enableParallelBuilding = true;
21
22
+
meta = {
23
homepage = "https://www.sndio.org";
24
description = "Small audio and MIDI framework part of the OpenBSD project";
25
+
license = lib.licenses.isc;
26
+
maintainers = with lib.maintainers; [ Madouura ];
27
+
platforms = lib.platforms.all;
28
};
29
+
})