mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
emplace: fix build (#344984)
This commit is contained in:
commit
b51d302b2c
3 changed files with 35 additions and 25 deletions
35
pkgs/by-name/em/emplace/package.nix
Normal file
35
pkgs/by-name/em/emplace/package.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue