about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libisofs/default.nix
blob: a9db714a5bbc243671b33ec6e6783939ed2a0dd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, stdenv, fetchurl, acl, attr, libiconv, zlib }:

stdenv.mkDerivation rec {
  pname = "libisofs";
  version = "1.5.6.pl01";

  outputs = [ "out" "dev" ];

  src = fetchurl {
    url = "http://files.libburnia-project.org/releases/${pname}-${version}.tar.gz";
    hash = "sha256-rB/TONZBdEyh+xVnkXGIt5vIwlBoMt1WiF/smGVrnyU=";
  };

  buildInputs = lib.optionals stdenv.isLinux [
    acl
    attr
  ] ++ lib.optionals stdenv.isDarwin [
    libiconv
  ] ++ [
    zlib
  ];

  enableParallelBuilding = true;

  meta = with lib; {
    homepage = "http://libburnia-project.org/";
    description = "A library to create an ISO-9660 filesystem with extensions like RockRidge or Joliet";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ abbradar vrthra ];
    platforms = with platforms; unix;
  };
}