mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
hilbish: 1.0.4 -> 1.2.0
This commit is contained in:
parent
78f79c21e9
commit
4ecde975ea
@ -1,18 +1,20 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, readline }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "hilbish";
|
||||
version = "1.0.4";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Rosettea";
|
||||
repo = "Hilbish";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-JVAyE6iSfRres2YalQF3CWK5Jtn5HoW6p6RHVbwzoVQ=";
|
||||
sha256 = "sha256-n4+qUCbjqxLmGuCQ0QTscJ3me0UZUP/7ggvGp1pNkfg=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-Bmst1oJMuSXGvL8Syw6v2BqrbO5McHKkTufFs6iuxzs=";
|
||||
subPackages = [ "." ];
|
||||
|
||||
vendorSha256 = "sha256-j7YAt7+kUJXdd/9LaRZny3MxYdd+0n5G3AffeDMo5DY=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
@ -24,13 +26,9 @@ buildGoModule rec {
|
||||
mkdir -p "$out/share/hilbish"
|
||||
|
||||
cp .hilbishrc.lua $out/share/hilbish/
|
||||
cp -r docs -t $out/share/hilbish
|
||||
cp -r docs -t $out/share/hilbish/
|
||||
cp -r libs -t $out/share/hilbish/
|
||||
cp -r prelude/ $out/share/hilbish/
|
||||
|
||||
# segfaults and it's already been generated upstream
|
||||
# we copy the docs over with the above cp command
|
||||
rm $out/bin/docgen
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
@ -39,6 +37,5 @@ buildGoModule rec {
|
||||
homepage = "https://github.com/Rosettea/Hilbish";
|
||||
maintainers = with maintainers; [ fortuneteller2k ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux; # only officially supported on Linux
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user