Merge pull request #271173 from zedseven/endlines
endlines: init at 1.9.2
This commit is contained in:
@@ -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";
|
||||
|
||||
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;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user