redo: fix src

This commit is contained in:
Felix Buehler 2024-04-16 21:53:41 +02:00
parent 947baf4f60
commit 463eae1a17
1 changed files with 8 additions and 8 deletions

View File

@ -1,22 +1,22 @@
{lib, stdenv, fetchurl, perl }:
{lib, stdenv, fetchFromGitHub, perl }:
stdenv.mkDerivation rec {
pname = "redo";
version = "1.4";
src = fetchurl {
url = "https://jdebp.eu./Repository/freebsd/${pname}-${version}.tar.gz";
sha256 = "1c8gr5h77v4fw78zkhbm9z9adqs3kd7xvxwnmci2zvlf4bqqk4jv";
src = fetchFromGitHub {
owner = "jdebp";
repo = "redo";
rev = "91f5462339ef6373f9ac80902cfae2b614e2902b";
hash = "sha256-cA8UN4aQnJ8VyMW3mDOIPna4Ucw1kp8CirZTDhSoCpU=";
};
nativeBuildInputs = [ perl /* for pod2man */ ];
sourceRoot = ".";
buildPhase = ''
./package/compile
package/compile
'';
installPhase = ''
./package/export $out/
package/export $out/
'';
meta = {