Commit Graph

12 Commits

Author SHA1 Message Date
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
Weijia Wang
6e7c0b97d4 treewide: make fetchPypi more explicit 2023-05-25 21:37:59 +03:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +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
Jonathan Ringer
9df14757c9 pew: 1.1.2 -> 1.2.0, fix build 2020-04-07 11:58:48 -07: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
Alyssa Ross
debe712d7a
pew: add homepage 2018-11-25 23:07:06 +00:00
Alyssa Ross
40589583c5
pew: fix build
Fixes https://github.com/NixOS/nixpkgs/issues/51034.
2018-11-25 23:07:05 +00:00
Tuomas Tynkkynen
34f95d92a2 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/applications/misc/pytrainer/default.nix
	pkgs/development/tools/pew/default.nix
	pkgs/tools/misc/you-get/default.nix
2018-02-28 20:52:49 +02:00
Ryan Mulligan
cf0a73f254 pew: 1.1.0 -> 1.1.2
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/jr9kc24yp5cxdsk6m0f7iiqviz4q5s8y-pew-1.1.2/bin/.pew-wrapped version` and found version 1.1.2
- ran `/nix/store/jr9kc24yp5cxdsk6m0f7iiqviz4q5s8y-pew-1.1.2/bin/pew version` and found version 1.1.2
- found 1.1.2 with grep in /nix/store/jr9kc24yp5cxdsk6m0f7iiqviz4q5s8y-pew-1.1.2
- found 1.1.2 in filename of file in /nix/store/jr9kc24yp5cxdsk6m0f7iiqviz4q5s8y-pew-1.1.2

cc "@berdario"
2018-02-28 14:24:45 +00:00
Frederik Rietdijk
aec31bf362 python: pew: 1.1.0 -> 1.1.2 2018-02-26 19:03:30 +01:00
Dario Bertini
c6f90f9493 pew: 0.1.14 -> 1.1.0
Pew was actually broken, due to a SHELL PATH check that had been added
in the previous release (though this shouldn't have hampered users with
bash as their shell)
2017-10-16 08:59:06 +01:00