nixpkgs/pkgs/tools/system/xe/default.nix
2023-11-27 02:17:53 +01:00

25 lines
573 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 = with maintainers; [ ];
mainProgram = "xe";
};
}