nix-simple-deploy: 0.1.1 -> 0.2.1 (#133104)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
misuzu 2021-08-08 13:16:12 +03:00 committed by GitHub
parent 3a8b5de9f0
commit 3d59c44dfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,29 @@
{ lib, fetchFromGitHub, rustPlatform }: { lib, fetchFromGitHub, rustPlatform, makeWrapper, openssh, nix-serve }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "nix-simple-deploy"; pname = "nix-simple-deploy";
version = "0.1.1"; version = "0.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "misuzu"; owner = "misuzu";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "12g0sbgs2dfnk0agp1kagfi1yhk26ga98zygxxrjhjxrqb2n5w80"; sha256 = "0vkgs3ffb5vdzhrqdnd54vbi36vrgd3408zvjn0rmqlnwi3wwhnk";
}; };
cargoSha256 = "1wp8wdv25j8ybq2j04z3nl4yc95wkj5h740lzpyps08yaxj8bncr"; cargoSha256 = "0z4d4cazl6qvigyqzdayxqfjc1ki1rhrpm76agc8lkrxrvhyay2h";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/nix-simple-deploy" \
--prefix PATH : "${lib.makeBinPath [ openssh nix-serve ]}"
'';
meta = with lib; { meta = with lib; {
description = "Deploy software or an entire NixOS system configuration to another NixOS system"; description = "Deploy software or an entire NixOS system configuration to another NixOS system";
homepage = "https://github.com/misuzu/nix-simple-deploy"; homepage = "https://github.com/misuzu/nix-simple-deploy";
platforms = platforms.unix;
license = with licenses; [ asl20 /* OR */ mit ]; license = with licenses; [ asl20 /* OR */ mit ];
maintainers = with maintainers; [ misuzu ]; maintainers = with maintainers; [ misuzu ];
}; };