1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/development/interpreters/nix-exec/default.nix

24 lines
574 B
Nix
Raw Normal View History

2014-10-24 22:06:54 +01:00
{ stdenv, fetchurl, pkgconfig, nix, git }: let
2016-03-22 22:20:16 +00:00
version = "4.1.5";
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";
2016-03-22 22:20:16 +00:00
sha256 = "1npy1did5ysacshclpfxihgh5bc0i9jqmvgxi1fp8prhcdhall9m";
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;
2014-09-29 01:10:11 +01:00
platforms = nix.meta.platforms;
2014-09-28 20:24:38 +01:00
};
}