Artturi
00104650c8
Merge pull request #182172 from amjoseph-nixpkgs/pr/units/pythonless
2023-04-22 15:49:16 +03:00
R. Ryantm
64e5fe6511
units: 2.21 -> 2.22
2022-09-08 05:48:33 +00:00
Adam Joseph
3f11515a26
units: fix build with enableCurrenciesUpdater=false; pythonPackages=null;
...
Units allows to build it without a python dependency by setting {
enableCurrenciesUpdater=false; pythonPackages=null; }. Unfortunately
this feature is currently broken due to two problems:
1. The `pythonEnv` string is part of the builder environment, so it is
not evaluated lazily. This means that `pythonPackages==null` will
always cause eval to fail.
2. `pythonEnv` is used unconditionally in an antiquotation in the
`prePatch` phase; if it is null this will fail.
Let's fix these so we can build a pythonless "units" package.
This is helpful when cross-compiling, because right now a lot of
python packages (especially python-cryptography) fail to
cross-compile.
2022-07-19 22:32:00 -07:00
R. RyanTM
8676e8fe71
units: 2.19 -> 2.21
2021-03-14 04:57:50 -04: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
Doron Behar
c7f682a59a
units: Add units_cur python script to $out
2019-09-28 16:19:13 +03: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
R. RyanTM
c0148f53fc
units: 2.18 -> 2.19
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/units/versions
2019-06-23 14:11:41 +02:00
R. RyanTM
1d0ab5d73b
units: 2.17 -> 2.18
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/units/versions
2018-10-23 01:32:01 -07:00
R. RyanTM
f188b63b6a
units: 2.16 -> 2.17
...
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/units/versions .
These checks were done:
- built on NixOS
- /nix/store/31sfwbmnw4vpchikbc0fv88hwqa6j7pk-units-2.17/bin/units passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 2.17 with grep in /nix/store/31sfwbmnw4vpchikbc0fv88hwqa6j7pk-units-2.17
- directory tree listing: https://gist.github.com/9398a46bc8272d0edd66c877ba0cd160
- du listing: https://gist.github.com/d78a308aacca7211f8470bf140a8c773
2018-06-27 12:03:25 -07:00
Franz Pletz
bf9c40dc61
units: 2.14 -> 2.16
2018-01-28 19:59:43 +01:00
Mesh33
1675d54db3
units: 2.13 -> 2.14
2017-04-20 00:09:54 +02:00
Rahul Gopinath
0dbbe57de3
units: 2.12 -> 2.13
2016-06-23 00:03:59 -07:00
Robert Helgesson
268102ce2a
units: add readline dependency
...
The dependency on `readline` is for tab-completion support. This commit
also enables tests and adds meta information.
2015-12-14 18:34:54 +01:00
Lancelot SIX
f729d79fec
pkgs.units: 2.11 -> 2.12
...
See http://lists.gnu.org/archive/html/info-gnu/2015-10/msg00006.html
2015-10-20 07:40:30 +00:00
Aristid Breitkreuz
f995cd6bcb
units: update from 2.10 to 2.11
2014-10-08 20:23:25 +02:00
Evgeny Egorochkin
899fd2942a
units: update from 2.02 to 2.10
2014-04-03 07:46:21 +03:00
Nixpkgs Monitor
f90e505d50
units: update from 1.86 to 2.02
2013-12-16 01:36:17 +02:00
Bjørn Forsman
083d0890f5
More description fixes
...
* Remove package name
* Start with upper case letter
* Remove trailing period
Also reword some descriptions and move some long descriptions to
longDescription.
I'm not touching generated packages.
2013-10-06 12:01:38 +02:00
Evgeny Egorochkin
da4be371e9
make package use mirror:// for gnu, savannah and gnome repositories where possible
2013-07-14 05:23:06 +03:00
Michael Raskin
42f841bcab
Added some descriptions.
...
svn path=/nixpkgs/trunk/; revision=8920
2007-06-26 11:49:45 +00:00
Michael Raskin
53b7c42a92
Added GNU units - unit conversion tool.
...
svn path=/nixpkgs/trunk/; revision=8907
2007-06-20 15:15:51 +00:00