mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #208486 from atorres1985-contrib/small-fixups
txr: 283 -> 284
This commit is contained in:
commit
30fe9f0b6a
@ -7,11 +7,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "txr";
|
||||
version = "283";
|
||||
version = "284";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.kylheku.com/cgit/txr/snapshot/txr-${finalAttrs.version}.tar.bz2";
|
||||
hash = "sha256-2TnwxHAiiWEytHpKXrEwQ+ajq19f0lv7ss842kkPs4Y=";
|
||||
hash = "sha256-dlAOThO2sJspkSYmR927iu13y3XRSllIGVh7ufu8ROU=";
|
||||
};
|
||||
|
||||
buildInputs = [ libffi ];
|
||||
@ -28,9 +28,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace tests/018/process.tl --replace /usr/bin/env ${lib.getBin coreutils}/bin/env
|
||||
'';
|
||||
|
||||
# Remove failing tests -- 018/chmod tries setting sticky bit
|
||||
preCheck = ''
|
||||
rm -rf tests/018/chmod*
|
||||
preCheck = let
|
||||
disabledTests = lib.concatStringsSep " " [
|
||||
# - tries to set sticky bits
|
||||
"tests/018/chmod.tl"
|
||||
# - warning: unbound function crypt
|
||||
"tests/018/crypt.tl"
|
||||
];
|
||||
in ''
|
||||
rm ${disabledTests}
|
||||
'';
|
||||
|
||||
# TODO: ship vim plugin separately?
|
||||
@ -46,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://nongnu.org/txr";
|
||||
homepage = "https://nongnu.org/txr";
|
||||
description = "An Original, New Programming Language for Convenient Data Munging";
|
||||
longDescription = ''
|
||||
TXR is a general-purpose, multi-paradigm programming language. It
|
||||
@ -58,6 +64,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
at the command line, to data scanning and extracting scripts, to full
|
||||
application development in a wide range of areas.
|
||||
'';
|
||||
changelog = "https://www.kylheku.com/cgit/txr/tree/RELNOTES?h=txr-${finalAttrs.version}";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres dtzWill ];
|
||||
platforms = platforms.all;
|
||||
|
Loading…
Reference in New Issue
Block a user