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

24 lines
574 B
Nix
Raw Normal View History

2014-10-24 23:06:54 +02:00
{ stdenv, fetchurl, pkgconfig, nix, git }: let
2015-08-14 21:56:01 +02:00
version = "4.1.2";
2014-09-28 21:24:38 +02: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";
2015-08-14 21:56:01 +02:00
sha256 = "03dphdkf33zi2wm92wghfvadghljh6q1a9zdj9rcbx2jh7fp3k8y";
2014-09-28 21:24:38 +02:00
};
2014-10-24 23:06:54 +02:00
buildInputs = [ pkgconfig nix git ];
2014-09-28 21:24:38 +02:00
meta = {
description = "Run programs defined in nix expressions";
homepage = https://github.com/shlevy/nix-exec;
license = stdenv.lib.licenses.mit;
2014-09-29 02:10:11 +02:00
platforms = nix.meta.platforms;
2014-09-28 21:24:38 +02:00
};
}