Merge pull request #285827 from nikstur/improve-tmli-auth

tmli-auth: improve the derivation

authored by

Jacek Galowicz and committed by
GitHub
512d5227 156d2574

+10 -10
+10 -10
pkgs/by-name/tl/tlmi-auth/package.nix
··· 6 , ninja 7 , openssl 8 }: 9 - let 10 - name = "tlmi-auth"; 11 version = "1.0.1"; 12 - in 13 - stdenv.mkDerivation { 14 - pname = name; 15 - version = version; 16 17 src = fetchFromGitHub { 18 owner = "lenovo"; 19 - repo = name; 20 - rev = "v${version}"; 21 hash = "sha256-/juXQrb3MsQ6FxmrAa7E1f0vIMu1397tZ1pzLfr56M4="; 22 }; 23 ··· 25 meson 26 ninja 27 pkg-config 28 openssl 29 ]; 30 ··· 32 homepage = "https://github.com/lenovo/tlmi-auth"; 33 maintainers = with maintainers; [ snpschaaf ]; 34 description = "Utility for creating signature strings needed for thinklmi certificate based authentication"; 35 - mainProgram = name; 36 license = licenses.gpl2; 37 platforms = platforms.linux; 38 }; 39 - }
··· 6 , ninja 7 , openssl 8 }: 9 + 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "tlmi-auth"; 12 version = "1.0.1"; 13 14 src = fetchFromGitHub { 15 owner = "lenovo"; 16 + repo = "tlmi-auth"; 17 + rev = "v${finalAttrs.version}"; 18 hash = "sha256-/juXQrb3MsQ6FxmrAa7E1f0vIMu1397tZ1pzLfr56M4="; 19 }; 20 ··· 22 meson 23 ninja 24 pkg-config 25 + ]; 26 + 27 + buildInputs = [ 28 openssl 29 ]; 30 ··· 32 homepage = "https://github.com/lenovo/tlmi-auth"; 33 maintainers = with maintainers; [ snpschaaf ]; 34 description = "Utility for creating signature strings needed for thinklmi certificate based authentication"; 35 + mainProgram = "tlmi-auth"; 36 license = licenses.gpl2; 37 platforms = platforms.linux; 38 }; 39 + })