1
0
Fork 0

Remove marksman

This commit is contained in:
Daniel Kempkens 2022-08-17 15:36:31 +02:00
parent 0a17ab1206
commit f69d3d2ee6
5 changed files with 0 additions and 49 deletions

View file

@ -21,7 +21,6 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build '.#fennel-luajit'
- run: nix build '.#luarocks-jsregexp'
- run: nix build '.#marksman'
- run: nix build '.#q'
build-x86_64-darwin:
@ -38,6 +37,5 @@ jobs:
- run: nix build '.#cliclick'
- run: nix build '.#fennel-luajit'
- run: nix build '.#luarocks-jsregexp'
- run: nix build '.#marksman'
- run: nix build '.#phantomjs'
- run: nix build '.#q'

View file

@ -6,6 +6,5 @@
* [cliclick](https://github.com/BlueM/cliclick)
* fennel-luajit
* [luarocks-jsregexp](https://github.com/kmarius/jsregexp)
* [marksman](https://github.com/artempyanykh/marksman)
* [phantomjs](https://github.com/ariya/phantomjs)
* [q](https://github.com/natesales/q)

View file

@ -8,7 +8,6 @@ in
inherit (custom) cliclick;
inherit (custom) fennel-luajit;
inherit (custom) luarocks-jsregexp;
inherit (custom) marksman;
inherit (custom) phantomjs;
inherit (custom) q;
}

View file

@ -5,7 +5,6 @@
cliclick = import ./packages/cliclick.nix { inherit system lib pkgs; };
fennel-luajit = import ./packages/fennel-luajit.nix { inherit system lib pkgs; };
luarocks-jsregexp = import ./packages/luarocks-jsregexp.nix { inherit system lib pkgs; };
marksman = import ./packages/marksman.nix { inherit system lib pkgs; };
phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; };
q = import ./packages/q.nix { inherit system lib pkgs; };
}

View file

@ -1,44 +0,0 @@
{ system, lib, pkgs }:
let
osSuffix = if pkgs.stdenv.isDarwin then "macos" else "linux";
osHash =
if pkgs.stdenv.isDarwin then
"00bl5ls0lmcz24xxykjlgr99dx74rcs9ia0hp6xf5hck9239vxik"
else
"1vsk66nwp39xbivvawrz50y8y7za4xdclq61pl5ry77dbj8pv6np";
in
pkgs.stdenv.mkDerivation rec {
pname = "marksman";
version = "2022-08-15";
src = pkgs.fetchurl {
url = "https://github.com/artempyanykh/${pname}/releases/download/${version}/marksman-${osSuffix}";
sha256 = osHash;
};
unpackPhase = ''
echo "$src is already the binary"
true
'';
dontStrip = true;
installPhase = ''
install -D $src $out/bin/marksman
'';
doInstallCheck = true;
installCheckPhase = ''
$out/bin/marksman --version
'';
meta = with lib; {
description = "Write Markdown with code assist and intelligence in the comfort of your favourite editor";
homepage = "https://github.com/artempyanykh/marksman";
license = licenses.mit;
platforms = [ "x86_64-darwin" "x86_64-linux" ];
};
}