tinyssh: 20241201 -> 20250201; clean up (#382402)
This commit is contained in:
@@ -1,34 +1,33 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "tinyssh";
|
||||
version = "20241201";
|
||||
version = "20250201";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "janmojzis";
|
||||
repo = "tinyssh";
|
||||
tag = version;
|
||||
hash = "sha256-bcQDKDpd7HFnmJAyqcO+BQMGV1pCHuS+OhFPJSOMInI=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-HX531QjRrDG4dshqzR03naZptUYnoZLEdv/CGpKOaD0=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
echo /bin > conf-bin
|
||||
echo /share/man > conf-man
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration";
|
||||
|
||||
DESTDIR = placeholder "out";
|
||||
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Minimalistic SSH server";
|
||||
homepage = "https://tinyssh.org";
|
||||
changelog = "https://github.com/janmojzis/tinyssh/releases/tag/${version}";
|
||||
license = licenses.cc0;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ kaction ];
|
||||
changelog = "https://github.com/janmojzis/tinyssh/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.cc0;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ kaction ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user