Remove marksman
This commit is contained in:
parent
0a17ab1206
commit
f69d3d2ee6
5 changed files with 0 additions and 49 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -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'
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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; };
|
||||
}
|
||||
|
|
|
@ -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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue