mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
stow: 2.3.0 -> 2.3.1
This commit is contained in:
parent
a8d45e7fc3
commit
c19dba37f3
@ -1,26 +1,18 @@
|
|||||||
{ stdenv, fetchurl, perl, perlPackages, makeWrapper }:
|
{ stdenv, fetchurl, perl, perlPackages }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "stow";
|
pname = "stow";
|
||||||
version = "2.3.0";
|
version = "2.3.1";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/stow/stow-${version}.tar.bz2";
|
url = "mirror://gnu/stow/stow-${version}.tar.bz2";
|
||||||
sha256 = "1fnn83wwx3yaxpqkq8xyya3aiibz19fwrfj30nsiikm7igmwgiv5";
|
sha256 = "0bs2b90wjkk1camcasy8kn403kazq6c7fj5m5msfl3navbgwz9i6";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
buildInputs = with perlPackages; [ perl IOStringy TestOutput ];
|
||||||
buildInputs = with perlPackages; [ perl IOStringy TestOutput HashMerge Clone CloneChoose ];
|
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
wrapProgram "$out"/bin/stow \
|
|
||||||
--set PERL5LIB "$out/lib/perl5/site_perl:${with perlPackages; makePerlPath [
|
|
||||||
HashMerge Clone CloneChoose
|
|
||||||
]}"
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user