19 lines
577 B
Nix
19 lines
577 B
Nix
{ buildDotnetModule, fetchFromGitHub, glibcLocalesUtf8 }:
|
|
|
|
buildDotnetModule rec {
|
|
pname = "marksman";
|
|
version = "1.0.0-2022-09-13";
|
|
src = fetchFromGitHub {
|
|
owner = "artempyanykh";
|
|
repo = "marksman";
|
|
rev = "2022-09-13";
|
|
sha256 = "sha256-87XuapUeeIw+MQ8rosiG7p6SVNOmflBsb3CcvfaUdCU=";
|
|
};
|
|
postPatch = ''
|
|
substituteInPlace Marksman/Marksman.fsproj \
|
|
--replace 'git describe --always --dirty' 'echo ${src.rev}'
|
|
'';
|
|
projectFile = "Marksman.sln";
|
|
nugetDeps = ./deps.nix;
|
|
LOCALE_ARCHIVE = "${glibcLocalesUtf8}/lib/locale/locale-archive";
|
|
}
|