endlines: init at 1.9.2
This commit is contained in:
parent
9d25b89a2a
commit
8f7b83c569
33
pkgs/by-name/en/endlines/package.nix
Normal file
33
pkgs/by-name/en/endlines/package.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "endlines";
|
||||
version = "1.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mdolidon";
|
||||
repo = "endlines";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-M0IyY/WXR8qv9/qx5G0pG3EKqMoZAP3fJTZ6sSSMMyQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace "/usr/local" "$out"
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/mdolidon/endlines";
|
||||
description = "Easy conversion between new-line conventions";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ zedseven ];
|
||||
mainProgram = "endlines";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user