nixpkgs/pkgs/development/interpreters/nix-exec/default.nix

24 lines
574 B
Nix
Raw Normal View History

2014-10-24 21:06:54 +00:00
{ stdenv, fetchurl, pkgconfig, nix, git }: let
version = "4.1.3";
2014-09-28 19:24:38 +00:00
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 = "0zhydidxj7dvgvszrlzwb0wj4s7xb42kdmn0fv5c7jz3nvnhdykp";
2014-09-28 19:24:38 +00:00
};
2014-10-24 21:06:54 +00:00
buildInputs = [ pkgconfig nix git ];
2014-09-28 19:24:38 +00:00
meta = {
description = "Run programs defined in nix expressions";
homepage = https://github.com/shlevy/nix-exec;
license = stdenv.lib.licenses.mit;
2014-09-29 00:10:11 +00:00
platforms = nix.meta.platforms;
2014-09-28 19:24:38 +00:00
};
}