diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 121fca951642..b2bdd2cd15e6 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -179,6 +179,7 @@ meditans = "Carlo Nucera "; meisternu = "Matt Miemiec "; michelk = "Michel Kuhlmann "; + michaelpj = "Michael Peyton Jones "; mirdhyn = "Merlin Gaillard "; mschristiansen = "Mikkel Christiansen "; modulistic = "Pablo Costa "; diff --git a/pkgs/tools/misc/heatseeker/default.nix b/pkgs/tools/misc/heatseeker/default.nix new file mode 100644 index 000000000000..0d85554c347d --- /dev/null +++ b/pkgs/tools/misc/heatseeker/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, rustPlatform }: + +with rustPlatform; + +buildRustPackage rec { + name = "heatseeker-${version}"; + version = "1.3.0"; + + depsSha256 = "03jap7myf85xgx9270sws8x57nl04a1wx8szrk9qx24s9vnnjcnh"; + + src = fetchFromGitHub { + owner = "rschmitt"; + repo = "heatseeker"; + rev = "v${version}"; + sha256 = "1xdvwgmh9lwv82hv1qg82bjv2iplnvva6lzbg7dyhbszhv7rhkbl"; + }; + + # some tests require a tty, this variable turns them off for Travis CI, + # which we can also make use of + TRAVIS= "true"; + + meta = with stdenv.lib; { + description = "A general-purpose fuzzy selector"; + homepage = https://github.com/rschmitt/heatseeker; + license = stdenv.lib.licenses.mit; + maintainers = [ maintainers.michaelpj ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7c12a501bfac..9b2bc7eadabc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -851,6 +851,8 @@ let gmic = callPackage ../tools/graphics/gmic { }; + heatseeker = callPackage ../tools/misc/heatseeker { }; + mathics = pythonPackages.mathics; mcrl = callPackage ../tools/misc/mcrl { };