Commit Graph

15 Commits

Author SHA1 Message Date
Nelson Elhage
93908113cb xidel: Set platforms to platforms.all
The Linux-only `platforms` setting dates to 10 years ago in 7f06428544, where it was accompanied by the comment

> `# more platforms will be supported when we switch to source build`

That switch happened in 2021 in d14ea1499b. I've confirmed that the current package builds just fine on my `aarch64-darwin` laptop.
2024-06-11 23:49:33 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
figsoda
d70e0242e9 pkgs/tools/text: remove dead code
with the help of deadnix & nil
2023-07-12 12:12:15 -04:00
ajs124
efbac5a249 xidel: 0.9.8 -> unstable-2022-11-01
Now with working https connections on openssl_3.
2023-01-23 00:11:10 +01:00
Alyssa Ross
f31d4de37b
xidel: add TLS support
Without this, it would try to find libcrypto in libc's prefix, and
then fail with this message:

	Error:
	Internet Error: -2 Couldn't load ssl libraries: libopenssl and libcrypto
	They must be installed separately.
	  On Debian/Ubuntu install libssl-dev.
	  On Fedora/CentOS install openssl-devel.
	  On Windows install OpenSSL from https://slproweb.com/products/Win32OpenSSL.html
	when talking to: https://archive.mozilla.org/pub/firefox/releases/

Tested with

       xidel -s https://archive.mozilla.org/pub/firefox/releases/ --extract "//a"
2021-10-05 18:21:05 +00:00
J. Neto
d14ea1499b xidel: 0.9.6 -> 0.9.8, refactor 2021-08-18 13:10:08 +02:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Ryan Mulligan
117ab67a0a xidel: 0.8.4 -> 0.9.6
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel -h` got 0 exit code
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel --help` got 0 exit code
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel -V` and found version 0.9.6
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel -v` and found version 0.9.6
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel --version` and found version 0.9.6
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel -h` and found version 0.9.6
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel --help` and found version 0.9.6
- found 0.9.6 in filename of file in /nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6

cc "@bjornfor"
2018-02-27 19:09:22 -08:00
Joachim Fasting
f32a8eb6cc
xidel: refactor & fix eval
- Fix eval by removing reference to non-existent stdenv.glibc
- Simplify patchelf calls
- Set meta.platforms = linux
2016-11-19 14:29:22 +01:00
Robin Gloster
9820cb1bf2 use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
2016-05-04 10:11:04 +00:00
Vladimír Čunát
3b9ef2c71b fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00
Bjørn Forsman
7f06428544 xidel: new package
Command line tool to download and extract data from html/xml page.

http://videlibri.sourceforge.net/xidel.html
2014-12-30 14:00:37 +01:00