Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
820 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ stdenv, mlton, lib, fetchFromGitHub}:
stdenv.mkDerivation rec { pname = "initool"; version = "0.18.0";
src = fetchFromGitHub { owner = "dbohdan"; repo = pname; rev = "v${version}"; hash = "sha256-f426yzSYcrhd0MOZc5vDg4T4m/RdWzTz/KPzb65h03U="; };
nativeBuildInputs = [ mlton ];
doCheck = true;
installPhase = '' runHook preInstall
mkdir -p $out/bin cp initool $out/bin/
runHook postInstall '';
meta = with lib; { inherit (mlton.meta) platforms;
description = "Manipulate INI files from the command line"; mainProgram = "initool"; homepage = "https://github.com/dbohdan/initool"; license = licenses.mit; maintainers = with maintainers; [ e1mo ]; changelog = "https://github.com/dbohdan/initool/releases/tag/v${version}"; };}