Merge pull request #271173 from zedseven/endlines

endlines: init at 1.9.2
This commit is contained in:
Peder Bergebakken Sundt
2023-12-17 02:55:12 +01:00
committed by GitHub
2 changed files with 42 additions and 0 deletions

View File

@@ -20455,6 +20455,15 @@
githubId = 1557253;
name = "Lennart Eichhorn";
};
zedseven = {
name = "Zacchary Dempsey-Plante";
email = "zacc@ztdp.ca";
github = "zedseven";
githubId = 25164338;
keys = [{
fingerprint = "065A 0A98 FE61 E1C1 41B0 AFE7 64FA BC62 F457 2875";
}];
};
zendo = {
name = "zendo";
email = "linzway@qq.com";

View 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;
};
})