mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
ocamlPackages.magic: init at 0.7.3
This commit is contained in:
parent
11208c6400
commit
60ff8d2306
26
pkgs/development/ocaml-modules/magic/default.nix
Normal file
26
pkgs/development/ocaml-modules/magic/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, which, file }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "magic";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Chris00";
|
||||
repo = "ocaml-magic";
|
||||
rev = "510c473d222a3d3d900b8ae1892d13e0d49d08be"; # no tags in repo
|
||||
sha256 = "0qks3v51xvzxhidai414mbszxhcl8wg8g7zxd04qi260433g77yg";
|
||||
};
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
nativeBuildInputs = [ which ];
|
||||
buildInputs = [ ocaml findlib ];
|
||||
propagatedBuildInputs = [ file ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Chris00/ocaml-magic";
|
||||
description = "Bindings for libmagic";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ dandellion ];
|
||||
};
|
||||
}
|
@ -744,6 +744,8 @@ let
|
||||
|
||||
macaque = callPackage ../development/ocaml-modules/macaque { };
|
||||
|
||||
magic = callPackage ../development/ocaml-modules/magic { };
|
||||
|
||||
magic-mime = callPackage ../development/ocaml-modules/magic-mime { };
|
||||
|
||||
mariadb = callPackage ../development/ocaml-modules/mariadb {
|
||||
|
Loading…
Reference in New Issue
Block a user