mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Add nix-exec package
This commit is contained in:
parent
58d838024b
commit
d34cd13a31
2 changed files with 27 additions and 0 deletions
23
pkgs/development/interpreters/nix-exec/default.nix
Normal file
23
pkgs/development/interpreters/nix-exec/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchurl, pkgconfig, nix }: let
|
||||
version = "1.0.0";
|
||||
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 = "0w89ma69iil1ki68zvs1l0ii0d87in64791l3a4yzyv9d3ncl3w6";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig nix ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -3802,6 +3802,10 @@ let
|
|||
pythonProtobuf = pythonPackages.protobuf;
|
||||
};
|
||||
|
||||
nix-exec = callPackage ../development/interpreters/nix-exec {
|
||||
nix = nixUnstable;
|
||||
};
|
||||
|
||||
octave = callPackage ../development/interpreters/octave {
|
||||
fltk = fltk13;
|
||||
qt = null;
|
||||
|
|
Loading…
Reference in a new issue