nixpkgs/pkgs/development/interpreters/nix-exec/default.nix
2014-11-24 10:13:31 -05:00

25 lines
628 B
Nix

{ stdenv, fetchurl, pkgconfig, nix, git }: let
version = "3.0.2";
in stdenv.mkDerivation {
name = "nix-exec-${version}";
src = fetchurl {
url = "https://github.com/shlevy/nix-exec/releases/download/v${version}/nix-exec-${version}.tar.xz";
sha256 = "1c45ardfk0qm3n7hx8wvsmyw6zs47sjcs2pd4rg4n87wsdi3hv7k";
};
buildInputs = [ pkgconfig nix git ];
meta = {
description = "Run programs defined in nix expressions";
homepage = https://github.com/shlevy/nix-exec;
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.shlevy ];
platforms = nix.meta.platforms;
};
}