hare-json: init at unstable-2023-01-31

This commit is contained in:
Colin 2023-05-18 07:29:22 +00:00
parent 43ec95f54a
commit dfc4ac2f86
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ stdenv
, lib
, fetchFromSourcehut
, hare
, unstableGitUpdater
}:
stdenv.mkDerivation rec {
pname = "hare-json";
version = "unstable-2023-01-31";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = pname;
rev = "99ae40eacc19253495949301000372adf8c3f504";
hash = "sha256-H5XKExs7e60PHmIS7TgBwG9e46Hj2M4D245vKag0ANA=";
};
nativeBuildInputs = [
hare
];
installFlags = [ "PREFIX=" "DESTDIR=$(out)" ];
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "JSON support for the Hare programming language";
homepage = "https://sr.ht/~sircmpwn/hare-json";
license = licenses.mpl20;
maintainers = with maintainers; [ colinsane ];
platforms = platforms.linux;
};
}

View File

@ -18,6 +18,7 @@ let
feeds = lib.recurseIntoAttrs (callPackage ./additional/feeds { });
gopass-native-messaging-host = callPackage ./additional/gopass-native-messaging-host { };
gpodder-configured = callPackage ./additional/gpodder-configured { };
hare-json = callPackage ./additional/hare-json { };
lightdm-mobile-greeter = callPackage ./additional/lightdm-mobile-greeter { };
linux-megous = callPackage ./additional/linux-megous { };
mx-sanebot = callPackage ./additional/mx-sanebot { };