Merge pull request #130999 from DeterminateSystems/pr-126993-tidypr-partial-revert

tidyp: revert to fetchurl
This commit is contained in:
Graham Christensen 2021-07-21 20:53:56 -04:00 committed by GitHub
commit 2828164c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "tidyp";
version = "1.04";
src = fetchFromGitHub {
owner = "petdance";
repo = "tidyp";
rev = version;
sha256 = "0jslskziwzk4hb6i640fvpnbv2zxrvim6pdx2gwx5wyc64aviskc";
src = fetchurl {
# downloads from a legacy GitHub download page from ~11 years ago
# project does not work with autoconf anymore and the configure script cannot be generated from the source download
url = "https://github.com/downloads/petdance/tidyp/${pname}-${version}.tar.gz";
sha256 = "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10";
};
hardeningDisable = [ "format" ];