Merge pull request #304620 from Stunkymonkey/redo-source-fix

redo: fix src
This commit is contained in:
Weijia Wang 2024-04-17 00:37:39 +02:00 committed by GitHub
commit 9473eaabcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 = {