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