depot/third_party/nixpkgs/pkgs/tools/system/xe/default.nix

25 lines
573 B
Nix
Raw Normal View History

{ 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";
};
}