lol

tinycdb: 0.80 -> 0.81 (#441186)

authored by

Peder Bergebakken Sundt and committed by
GitHub
e64189b9 cf723a6f

+9 -9
+9 -9
pkgs/by-name/ti/tinycdb/package.nix
··· 12 ar = if !isCross then "ar" else "${cross}-ar"; 13 ranlib = if !isCross then "ranlib" else "${cross}-ranlib"; 14 in 15 - stdenv.mkDerivation rec { 16 postPatch = '' 17 sed -i 's,set --, set -x; set --,' Makefile 18 ''; 19 pname = "tinycdb"; 20 - version = "0.80"; 21 # In general, static library (.a) goes to "dev", shared (.so) to 22 # "lib". In case of static build, there is no .so library, so "lib" 23 # output is useless and empty. ··· 39 postInstall = '' 40 mkdir -p $dev/lib $out/bin 41 mv $out/lib/libcdb.a $dev/lib 42 - rmdir $out/lib 43 '' 44 + ( 45 if static then ··· 55 ); 56 57 src = fetchurl { 58 - url = "http://www.corpit.ru/mjt/tinycdb/${pname}-${version}.tar.gz"; 59 - sha256 = "sha256-wyG5BekCwsqZo/+Kjd39iCMkf+Ht7IpLuF+Dhpxjn7g="; 60 }; 61 62 - meta = with lib; { 63 64 description = "Utility to manipulate constant databases (cdb)"; 65 mainProgram = "cdb"; ··· 71 ''; 72 73 homepage = "https://www.corpit.ru/mjt/tinycdb.html"; 74 - license = licenses.publicDomain; 75 - platforms = platforms.linux; 76 }; 77 - }
··· 12 ar = if !isCross then "ar" else "${cross}-ar"; 13 ranlib = if !isCross then "ranlib" else "${cross}-ranlib"; 14 in 15 + stdenv.mkDerivation (finalAttrs: { 16 postPatch = '' 17 sed -i 's,set --, set -x; set --,' Makefile 18 ''; 19 pname = "tinycdb"; 20 + version = "0.81"; 21 # In general, static library (.a) goes to "dev", shared (.so) to 22 # "lib". In case of static build, there is no .so library, so "lib" 23 # output is useless and empty. ··· 39 postInstall = '' 40 mkdir -p $dev/lib $out/bin 41 mv $out/lib/libcdb.a $dev/lib 42 + rm --recursive $out/lib 43 '' 44 + ( 45 if static then ··· 55 ); 56 57 src = fetchurl { 58 + url = "https://www.corpit.ru/mjt/tinycdb/tinycdb-${finalAttrs.version}.tar.gz"; 59 + hash = "sha256-Rp3i1EW/VIgPZS9LbclcfN9vVQLDVSSkWyEi1w1H68I="; 60 }; 61 62 + meta = { 63 64 description = "Utility to manipulate constant databases (cdb)"; 65 mainProgram = "cdb"; ··· 71 ''; 72 73 homepage = "https://www.corpit.ru/mjt/tinycdb.html"; 74 + license = lib.licenses.publicDomain; 75 + platforms = lib.platforms.linux; 76 }; 77 + })