initool: init at 0.10.0
This commit is contained in:
parent
c0c4f25067
commit
4bb112a84a
41
pkgs/development/tools/initool/default.nix
Normal file
41
pkgs/development/tools/initool/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ stdenv
|
||||||
|
, mlton
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "initool";
|
||||||
|
version = "0.10.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dbohdan";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-pszlP9gy1zjQjNNr0L1NY0XViejUUuvUZH6JHtUxdJI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
|
homepage = "https://github.com/dbohdan/initool";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ e1mo ];
|
||||||
|
changelog = "https://github.com/dbohdan/initool/releases/tag/v${version}";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -20416,6 +20416,8 @@ with pkgs;
|
||||||
|
|
||||||
iniparser = callPackage ../development/libraries/iniparser { };
|
iniparser = callPackage ../development/libraries/iniparser { };
|
||||||
|
|
||||||
|
initool = callPackage ../development/tools/initool { };
|
||||||
|
|
||||||
intel-gmmlib = callPackage ../development/libraries/intel-gmmlib { };
|
intel-gmmlib = callPackage ../development/libraries/intel-gmmlib { };
|
||||||
|
|
||||||
intel-media-driver = callPackage ../development/libraries/intel-media-driver { };
|
intel-media-driver = callPackage ../development/libraries/intel-media-driver { };
|
||||||
|
|
Loading…
Reference in a new issue