nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 28 lines 811 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "tidyp"; 9 version = "1.04"; 10 11 src = fetchurl { 12 # downloads from a legacy GitHub download page from ~11 years ago 13 # project does not work with autoconf anymore and the configure script cannot be generated from the source download 14 url = "https://github.com/downloads/petdance/tidyp/${pname}-${version}.tar.gz"; 15 sha256 = "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"; 16 }; 17 18 hardeningDisable = [ "format" ]; 19 20 meta = with lib; { 21 description = "Program that can validate your HTML, as well as modify it to be more clean and standard"; 22 mainProgram = "tidyp"; 23 homepage = "http://tidyp.com/"; 24 platforms = platforms.all; 25 maintainers = with maintainers; [ pSub ]; 26 license = licenses.bsd3; 27 }; 28}