2014-10-24 22:06:54 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, nix, git }: let
|
2014-12-04 03:23:47 +00:00
|
|
|
version = "4.0.0";
|
2014-09-28 20:24:38 +01: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";
|
|
|
|
|
2014-12-04 03:23:47 +00:00
|
|
|
sha256 = "0qw25v8pzx08mirhy46dmqj93nwnxfvgw2jsn8rvxh2d7x4nc8jv";
|
2014-09-28 20:24:38 +01:00
|
|
|
};
|
|
|
|
|
2014-10-24 22:06:54 +01:00
|
|
|
buildInputs = [ pkgconfig nix git ];
|
2014-09-28 20:24:38 +01:00
|
|
|
|
|
|
|
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 ];
|
2014-09-29 01:10:11 +01:00
|
|
|
|
|
|
|
platforms = nix.meta.platforms;
|
2014-09-28 20:24:38 +01:00
|
|
|
};
|
|
|
|
}
|