Skip to content

Commit

Permalink
Merge pull request #272377 from nzbr/xstow
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jan 18, 2024
2 parents 96ce82d + 2d79d99 commit 2629a7a
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions pkgs/tools/misc/xstow/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
{ stdenv, lib, fetchurl, ncurses, autoreconfHook }:
{ stdenv
, lib
, fetchFromGitHub
, ncurses
, autoreconfHook
}:

stdenv.mkDerivation rec {
pname = "xstow";
version = "1.1.0";
version = "1.1.1";

src = fetchurl {
url = "http://downloads.sourceforge.net/sourceforge/${pname}/${pname}-${version}.tar.bz2";
sha256 = "sha256-wXQ5XSmogAt1torfarrqIU4nBYj69MGM/HBYqeIE+dw=";
src = fetchFromGitHub {
owner = "majorkingleo";
repo = "xstow";
rev = version;
fetchSubmodules = true;
hash = "sha256-c89+thw5N3Cgl1Ww+W7c3YsyhNJMLlreedvdWJFY3WY=";
};

nativeBuildInputs = [ autoreconfHook ];
Expand All @@ -23,9 +32,8 @@ stdenv.mkDerivation rec {
];

meta = with lib; {
broken = stdenv.isDarwin;
description = "A replacement of GNU Stow written in C++";
homepage = "https://xstow.sourceforge.net";
homepage = "https://github.com/majorkingleo/xstow";
license = licenses.gpl2Only;
maintainers = with maintainers; [ nzbr ];
platforms = platforms.unix;
Expand Down

0 comments on commit 2629a7a

Please sign in to comment.