Commit Graph

42 Commits

Author SHA1 Message Date
Pavol Rusnak
a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +01: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
R. RyanTM
d2928191c6 python37Packages.cmd2: 1.3.11 -> 1.4.0 2020-11-15 00:15:15 -08:00
R. RyanTM
bbb2a3ad1b python37Packages.cmd2: 1.3.10 -> 1.3.11 2020-10-15 14:37:31 -07:00
R. RyanTM
8ed3178bc2 python37Packages.cmd2: 1.3.8 -> 1.3.10 2020-09-28 23:57:43 -07:00
Frederik Rietdijk
dba87c8e39 python3Packages.cmd2: 1.3.3 -> 1.3.8 2020-08-29 10:22:12 -07:00
Frederik Rietdijk
2b03b9ba98 python: cmd2: 1.0.2 -> 1.3.3 2020-08-16 19:30:55 +02:00
R. RyanTM
f6eb78110e python37Packages.cmd2: 1.0.1 -> 1.0.2 2020-05-06 10:22:10 -07:00
R. RyanTM
e5d683a375 python37Packages.cmd2: 1.0.0 -> 1.0.1 2020-04-06 15:59:39 +02:00
Matthieu Coudron
3569b327c0 python3Packages.cmd2: 0.9.25 -> 1.0.0
https://github.com/python-cmd2/cmd2/releases/tag/1.0.0
2020-03-04 12:22:11 +01:00
Alyssa Ross
95ee2c8e26 python3.pkgs.cmd2: fix shebang
The bang was missing!  What was there before would still have worked,
but I think it would end up being executed by /bin/sh since it had no
shebang line.
2020-02-14 04:16:50 +01:00
R. RyanTM
50ebd0e715 python37Packages.cmd2: 0.9.23 -> 0.9.25 2020-02-09 16:48:58 +01:00
R. RyanTM
784ddd9f96 python37Packages.cmd2: 0.9.22 -> 0.9.23 2020-01-22 12:07:56 +00:00
Frederik Rietdijk
b08de9f12a python: cmd2: 0.9.21 -> 0.9.22 2019-12-15 16:23:14 +01:00
R. RyanTM
5f47853abe python38Packages.cmd2: 0.9.20 -> 0.9.21 2019-12-08 17:59:22 -08:00
Matthieu Coudron
56b5f663cc python3Packages.cmd2: 0.19.0 -> 0.20.0 2019-11-19 07:43:49 -08:00
Frederik Rietdijk
51c3e7fd40 python: cmd2: 0.9.17 -> 0.9.19 2019-10-18 09:53:56 +02:00
Matthieu Coudron
7d7bd8aa33 pythonPackages.cmd2: 0.9.16 -> 0.9.17
Changelog https://github.com/python-cmd2/cmd2/blob/master/CHANGELOG.md
2019-09-26 18:21:33 +09:00
R. RyanTM
8665cc4f20 python37Packages.cmd2: 0.9.15 -> 0.9.16
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-cmd2/versions
2019-08-20 14:42:53 +09:00
Matthieu Coudron
8dfc8c67d8 python3Packages.cmd2: 0.9.14 -> 0.9.15
API changes quite a bit:
https://github.com/python-cmd2/cmd2/blob/0.9.15/CHANGELOG.md
2019-08-02 16:47:55 +09:00
R. RyanTM
7ef0c72310 python37Packages.cmd2: 0.9.13 -> 0.9.14
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-cmd2/versions
2019-07-02 20:03:33 +02:00
Frederik Rietdijk
cd5f46acf3 python: cmd2: 0.9.12 -> 0.9.13 2019-06-15 09:24:58 +02:00
Robert Scott
0d576d7eb8 pythonPackages.cmd2_8: remove 2019-06-12 11:56:39 +09:00
Matthieu Coudron
dabf78fe0f python3Packages.cmd2: 0.9.11 -> 0.9.12
Changelog: https://github.com/python-cmd2/cmd2/blob/master/CHANGELOG.md
2019-04-23 13:38:00 +09:00
R. RyanTM
12446a8032 python37Packages.cmd2: 0.9.10 -> 0.9.11
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-cmd2/versions
2019-04-02 04:22:17 -07:00
Frederik Rietdijk
2fcb11a244 Merge staging-next into master 2019-03-01 09:06:20 +01:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Frederik Rietdijk
e2d0dc3cd6 python: cmd2: 0.9.8 -> 0.9.10 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
0357494a42 python: cmd2: 0.9.7 -> 0.9.8 2019-02-17 14:40:17 +01:00
Frederik Rietdijk
d531da6f8a
Merge pull request #54094 from rnhmjoj/shell
treewide: use ${stdenv.shell} instead of /bin/sh where possible
2019-01-19 14:15:51 +01:00
Frederik Rietdijk
f8b45e2d84 Merge staging-next into staging 2019-01-19 09:24:01 +01:00
Robert Schütz
71f56c90af python3.pkgs.cmd2: depend on attrs 2019-01-18 12:03:12 +01:00
Frederik Rietdijk
1e1d7d4f24 python: cmd2: 0.9.6 -> 0.9.7 2019-01-18 09:37:07 +01:00
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
Matthieu Coudron
ad6ee9c61f python3Packages.cmd2: 0.9.4 -> 0.9.6 2018-10-15 19:11:08 +09:00
Frederik Rietdijk
39ca3eb666 pythonPackages.cmd2: fix build 2018-09-01 10:41:37 +02:00
Frederik Rietdijk
ca7b397379 python: cmd2: 0.9.3 -> 0.9.4 2018-08-25 18:02:26 +02:00
Frederik Rietdijk
58c146e47b python: cmd2: 0.9.1 -> 0.9.3 2018-07-22 16:52:37 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthieu Coudron
65b15ba6a9 pythonPackages.cmd2: keep 0.8 version
...which is the last one with python2 support until ~ august 2018
2018-06-15 03:46:40 +09:00
Matthieu Coudron
bb47fd0fec python3Packages.cmd2: 0.8.0 -> 0.9.1 2018-06-15 03:46:40 +09:00
Matthieu Coudron
0a672f7984 [RDY] pythonPackages.cmd2: 0.7.7 -> 0.8.0 (#35162)
Some cool stuff like history saving to transcripts, support for argparse
based parsers etc:
https://github.com/python-cmd2/cmd2/blob/master/CHANGELOG.md

It is now possible to run tests though many fails.
2018-02-28 13:55:02 +00:00