mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
nix-repl: Update
This commit is contained in:
parent
e115bdecd8
commit
bd0d1e836c
@ -1,17 +1,18 @@
|
|||||||
{ stdenv, fetchgit, nix, readline, boehmgc }:
|
{ lib, stdenv, fetchFromGitHub, nix, readline, boehmgc }:
|
||||||
|
|
||||||
with stdenv.lib;
|
let rev = "f92408136ed08804bab14b3e2a2def9b8effd7eb"; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
name = "nix-repl-${getVersion nix}-${substring 0 7 src.rev}";
|
name = "nix-repl-${lib.getVersion nix}-${lib.substring 0 7 rev}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = https://github.com/edolstra/nix-repl.git;
|
owner = "edolstra";
|
||||||
rev = "1734e8a1491ef831c83c2620b6b0f4a590b67c1f";
|
repo = "nix-repl";
|
||||||
sha256 = "12fld2780jh3ww2n59s9z7afwjkmfhwh4dqn3wjva4ff8fx3n0mf";
|
inherit rev;
|
||||||
|
sha256 = "1vl36d3n7hrw4vy2n358zx210ygkj4lmd8zsiifna6x7w7q388bj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nix readline boehmgc ];
|
buildInputs = [ nix readline ];
|
||||||
|
|
||||||
buildPhase = "true";
|
buildPhase = "true";
|
||||||
|
|
||||||
@ -29,8 +30,8 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/edolstra/nix-repl;
|
homepage = https://github.com/edolstra/nix-repl;
|
||||||
description = "An interactive environment for evaluating and building Nix expressions";
|
description = "An interactive environment for evaluating and building Nix expressions";
|
||||||
maintainers = [ maintainers.eelco ];
|
maintainers = [ lib.maintainers.eelco ];
|
||||||
license = licenses.gpl3;
|
license = lib.licenses.gpl3;
|
||||||
platforms = nix.meta.platforms;
|
platforms = nix.meta.platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user