Skip to content

Commit

Permalink
emplace: fix build (#344984)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Oct 8, 2024
2 parents 61f9db7 + 504189a commit b51d302
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 25 deletions.
35 changes: 35 additions & 0 deletions pkgs/by-name/em/emplace/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
rustPlatform,
fetchpatch,
fetchFromGitHub,
}:

rustPlatform.buildRustPackage rec {
pname = "emplace";
version = "1.6.0";

src = fetchFromGitHub {
owner = "tversteeg";
repo = "emplace";
rev = "refs/tags/v${version}";
sha256 = "sha256-FZ+lvf5HRSruUdmkm/Hqz0aRa95SjfIa43WQczRCGNg=";
};

cargoPatches = [
(fetchpatch {
url = "https://github.com/tversteeg/emplace/pull/397/commits/fe32ab280234b1fb1a81a22f78bbc8af188b5fa7.patch";
hash = "sha256-9O0J9cJlXUGdQ9fqWeW8OIFA48qlYxGl+2yHHt3MaMU=";
})
];

cargoHash = "sha256-0BYAJOHymBVAssNfU5nPYTSvPbLEDCKoRVovIm6evUQ=";

meta = {
description = "Mirror installed software on multiple machines";
homepage = "https://github.com/tversteeg/emplace";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ Br1ght0ne ];
mainProgram = "emplace";
};
}
23 changes: 0 additions & 23 deletions pkgs/tools/package-management/emplace/default.nix

This file was deleted.

2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3503,8 +3503,6 @@ with pkgs;

sedutil = callPackage ../tools/security/sedutil { };

emplace = callPackage ../tools/package-management/emplace { };

enchive = callPackage ../tools/security/enchive { };

enjarify = callPackage ../tools/misc/enjarify { };
Expand Down

0 comments on commit b51d302

Please sign in to comment.