lsb-release: init at 1.4

+29
+27
pkgs/os-specific/linux/lsb-release/default.nix
···
··· 1 + { stdenv, fetchurl, perl, getopt }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.4"; 5 + name = "lsb-release-${version}"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/lsb/${name}.tar.gz"; 9 + sha256 = "0wkiy7ymfi3fh2an2g30raw6yxh6rzf6nz2v90fplbnnz2414clr"; 10 + }; 11 + 12 + preConfigure = '' 13 + substituteInPlace help2man \ 14 + --replace /usr/bin/perl ${perl}/bin/perl 15 + ''; 16 + 17 + installFlags = [ "prefix=$(out)" ]; 18 + 19 + buildInputs = [ perl getopt ]; 20 + 21 + meta = { 22 + description = "Prints certain LSB (Linux Standard Base) and Distribution information"; 23 + homepage = http://www.linuxfoundation.org/collaborate/workgroups/lsb; 24 + license = [ stdenv.lib.licenses.gpl2Plus stdenv.lib.licenses.gpl3Plus ]; 25 + platforms = stdenv.lib.platforms.linux; 26 + }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 2249 2250 lrzip = callPackage ../tools/compression/lrzip { }; 2251 2252 # lsh installs `bin/nettle-lfib-stream' and so does Nettle. Give the 2253 # former a lower priority than Nettle. 2254 lsh = lowPrio (callPackage ../tools/networking/lsh { });
··· 2249 2250 lrzip = callPackage ../tools/compression/lrzip { }; 2251 2252 + lsb-release = callPackage ../os-specific/linux/lsb-release { }; 2253 + 2254 # lsh installs `bin/nettle-lfib-stream' and so does Nettle. Give the 2255 # former a lower priority than Nettle. 2256 lsh = lowPrio (callPackage ../tools/networking/lsh { });