"platforms.gnu" has been linux-only since at least 17.03: $ nix eval -f channel:nixos-17.03 lib.platforms.gnu [ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mips64el-linux" ] Unlike platforms.linux, platforms.gnu indicates "must use glibc" which for the most part is not intended. Replacing platforms.gnu with platforms.linux would be the same "today" but let's err on preserving existing behavior and be optimistic about platforms these packages work on.
24 lines
678 B
Nix
24 lines
678 B
Nix
{ stdenv, lib, fetchurl, pkgconfig, libcdio, libxml2, popt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "vcdimager-2.0.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/vcdimager/${name}.tar.gz";
|
|
sha256 = "0ypnb1vp49nmzp5571ynlz6n1gh90f23w3z4x95hb7c2p7pmylb7";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libxml2 popt ];
|
|
|
|
propagatedBuildInputs = [ libcdio ];
|
|
|
|
meta = with lib; {
|
|
homepage = http://www.gnu.org/software/vcdimager/;
|
|
description = "Full-featured mastering suite for authoring, disassembling and analyzing Video CDs and Super Video CDs";
|
|
platforms = platforms.gnu ++ platforms.linux; # random choice
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|