tidyp: revert to fetchurl

fetchFromGitHub doesn't build
This commit is contained in:
Graham Christensen 2021-07-21 20:21:05 -04:00
parent 99d4811dee
commit 429bbe3bc3

View file

@ -1,14 +1,12 @@
{ 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 {
url = "https://github.com/downloads/petdance/tidyp/${pname}-${version}.tar.gz";
sha256 = "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10";
};
hardeningDisable = [ "format" ];