nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchurl,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "libsrs2";
9 version = "1.0.18";
10
11 src = fetchurl {
12 url = "https://www.libsrs2.org/srs/libsrs2-${version}.tar.gz";
13 sha256 = "9d1191b705d7587a5886736899001d04168392bbb6ed6345a057ade50943a492";
14 };
15
16 meta = {
17 description = "Next generation SRS library from the original designer of SRS";
18 mainProgram = "srs";
19 license = with lib.licenses; [
20 gpl2
21 bsd3
22 ];
23 homepage = "https://www.libsrs2.org/";
24 platforms = lib.platforms.linux;
25 };
26}