summary refs log blame commit diff
path: root/pkgs/os-specific/linux/libselinux/default.nix
blob: 4be88a20e24ab9837bcc68f02d3b55e085021a99 (plain) (tree)
1
2
3
4
5
6
7
8
9

                             



                                 
                  

                                                                                       

    


                                                                   
 
{stdenv, fetchurl, libsepol}:

stdenv.mkDerivation rec {
  name = "libselinux-${version}";
  version = "2.0.98";

  src = fetchurl {
    url = "http://userspace.selinuxproject.org/releases/20101221/devel/${name}.tar.gz";
    sha256 = "00irm7nyakgi4z8d6dlm6c70fkbl6rzk5w1w0ny2c564yw0d0dlz";
  };

  buildInputs = [ libsepol ];

  preBuild = '' makeFlags="$makeFlags PREFIX=$out DESTDIR=$out" '';
}