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

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by misuzu.tngl.sh Sandro and committed by GitHub 3d59c44d 3a8b5de9

+12 -4
+12 -4
pkgs/tools/package-management/nix-simple-deploy/default.nix
··· 1 - { lib, fetchFromGitHub, rustPlatform }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "nix-simple-deploy"; 5 - version = "0.1.1"; 6 7 src = fetchFromGitHub { 8 owner = "misuzu"; 9 repo = pname; 10 rev = version; 11 - sha256 = "12g0sbgs2dfnk0agp1kagfi1yhk26ga98zygxxrjhjxrqb2n5w80"; 12 }; 13 14 - cargoSha256 = "1wp8wdv25j8ybq2j04z3nl4yc95wkj5h740lzpyps08yaxj8bncr"; 15 16 meta = with lib; { 17 description = "Deploy software or an entire NixOS system configuration to another NixOS system"; 18 homepage = "https://github.com/misuzu/nix-simple-deploy"; 19 license = with licenses; [ asl20 /* OR */ mit ]; 20 maintainers = with maintainers; [ misuzu ]; 21 };
··· 1 + { lib, fetchFromGitHub, rustPlatform, makeWrapper, openssh, nix-serve }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "nix-simple-deploy"; 5 + version = "0.2.1"; 6 7 src = fetchFromGitHub { 8 owner = "misuzu"; 9 repo = pname; 10 rev = version; 11 + sha256 = "0vkgs3ffb5vdzhrqdnd54vbi36vrgd3408zvjn0rmqlnwi3wwhnk"; 12 }; 13 14 + cargoSha256 = "0z4d4cazl6qvigyqzdayxqfjc1ki1rhrpm76agc8lkrxrvhyay2h"; 15 + 16 + nativeBuildInputs = [ makeWrapper ]; 17 + 18 + postInstall = '' 19 + wrapProgram "$out/bin/nix-simple-deploy" \ 20 + --prefix PATH : "${lib.makeBinPath [ openssh nix-serve ]}" 21 + ''; 22 23 meta = with lib; { 24 description = "Deploy software or an entire NixOS system configuration to another NixOS system"; 25 homepage = "https://github.com/misuzu/nix-simple-deploy"; 26 + platforms = platforms.unix; 27 license = with licenses; [ asl20 /* OR */ mit ]; 28 maintainers = with maintainers; [ misuzu ]; 29 };