nixpkgs-immich/pkgs/tools/system/xe/default.nix
2024-09-17 10:23:40 -06:00

25 lines
555 B
Nix

{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "xe";
version = "1.0";
src = fetchFromGitHub {
owner = "chneukirchen";
repo = "xe";
rev = "v${version}";
sha256 = "sha256-yek6flBhgjSeN3M695BglUfcbnUGp3skzWT2W/BxW8Y=";
};
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Simple xargs and apply replacement";
homepage = "https://github.com/chneukirchen/xe";
license = licenses.publicDomain;
platforms = platforms.all;
maintainers = [ ];
mainProgram = "xe";
};
}