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
1
{ lib, stdenv, fetchurl, alsa-lib, fixDarwinDylibNames }:
2
2
3
3
-
stdenv.mkDerivation rec {
3
3
+
stdenv.mkDerivation (finalAttrs: {
4
4
pname = "sndio";
5
5
version = "1.9.0";
6
6
7
7
src = fetchurl {
8
8
-
url = "https://www.sndio.org/sndio-${version}.tar.gz";
9
9
-
sha256 = "sha256-8wgm/JwH42nTkk1fzt9qClPA30rh9atQ/pzygFQPaZo=";
8
8
+
url = "https://www.sndio.org/sndio-${finalAttrs.version}.tar.gz";
9
9
+
hash = "sha256-8wgm/JwH42nTkk1fzt9qClPA30rh9atQ/pzygFQPaZo=";
10
10
};
11
11
12
12
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
···
19
19
20
20
enableParallelBuilding = true;
21
21
22
22
-
meta = with lib; {
22
22
+
meta = {
23
23
homepage = "https://www.sndio.org";
24
24
description = "Small audio and MIDI framework part of the OpenBSD project";
25
25
-
license = licenses.isc;
26
26
-
maintainers = with maintainers; [ Madouura ];
27
27
-
platforms = platforms.all;
25
25
+
license = lib.licenses.isc;
26
26
+
maintainers = with lib.maintainers; [ Madouura ];
27
27
+
platforms = lib.platforms.all;
28
28
};
29
29
-
}
29
29
+
})