diff --git a/pkgs/by-name/em/emplace/package.nix b/pkgs/by-name/em/emplace/package.nix new file mode 100644 index 0000000000000..711c4d154a39d --- /dev/null +++ b/pkgs/by-name/em/emplace/package.nix @@ -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"; + }; +} diff --git a/pkgs/tools/package-management/emplace/default.nix b/pkgs/tools/package-management/emplace/default.nix deleted file mode 100644 index 2bf3d67443edd..0000000000000 --- a/pkgs/tools/package-management/emplace/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "emplace"; - version = "1.6.0"; - - src = fetchFromGitHub { - owner = "tversteeg"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-FZ+lvf5HRSruUdmkm/Hqz0aRa95SjfIa43WQczRCGNg="; - }; - - cargoHash = "sha256-0bKLN0l3ldHJizqWuSoBUxQ8I114BQz6ZTtsro3eYEI="; - - meta = with lib; { - description = "Mirror installed software on multiple machines"; - homepage = "https://github.com/tversteeg/emplace"; - license = licenses.agpl3Plus; - maintainers = with maintainers; [ Br1ght0ne ]; - mainProgram = "emplace"; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 05c5985bd5c99..8213607e2cfc7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3526,8 +3526,6 @@ with pkgs; sedutil = callPackage ../tools/security/sedutil { }; - emplace = callPackage ../tools/package-management/emplace { }; - enchive = callPackage ../tools/security/enchive { }; enjarify = callPackage ../tools/misc/enjarify { };