6 stdenv.mkDerivation rec {
7 pname = "common-licenses";
11 url = "http://deb.debian.org/debian/pool/main/b/base-files/base-files_${version}.tar.xz";
12 hash = "sha256-Q5FTvfKWSBE1ywuAH+RnZdyD+LmRSgJ11qFiM53hL1Y=";
17 cp -r licenses $out/share/common-licenses
18 cat debian/base-files.links | grep common-licenses | sed -e "s|usr|$out|g" -e "s|^|ln -s |g" | bash -x
22 description = "common-licenses extracted from debian base-files package";
23 homepage = "https://tracker.debian.org/pkg/base-files";
24 license = licenses.gpl2Plus;
25 platforms = platforms.linux;
26 maintainers = [ maintainers.mkg20001 ];