about summary refs log tree commit diff
path: root/pkgs/development/misc/loc
AgeCommit message (Collapse)AuthorFilesLines
2023-04-17treewide: remove file-wide `with rustPlatform;`sfigsoda1-3/+1
2021-05-08treewide: fix cargoSha256/cargoHashDaniël de Kok1-1/+1
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
2021-01-25treewide: remove stdenv where not neededPavol Rusnak1-1/+1
2021-01-24pkgs/development: stdenv.lib -> libBen Siraphob1-2/+2
2021-01-11treewide: with stdenv.lib; in meta -> with lib;Profpatsch1-2/+2
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
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2020-02-16loc: upgrade cargo fetcher and cargoSha256Benjamin Hipple1-4/+1
Infra upgrade as part of #79975; no functional change expected.
2020-02-13treewide: change fetchCargoTarball default to opt-outBenjamin Hipple1-0/+3
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
2019-08-31treewide: name -> pname (#67513)volth1-1/+1
2019-06-01treewide: update cargoSha256 hashes for cargo-vendor upgradeAlyssa Ross1-1/+1
A recent upgrade of cargo-vendor changed its output slightly, which broke all cargoSha256 hashes in nixpkgs. See https://github.com/NixOS/nixpkgs/issues/60668 for more information. Since then, a few hashes have been fixed in master by hand, but there were a lot still to do, so I did all of the ones left over with some scripts I wrote. The one hash I wasn’t able to update was habitat's, because it’s currently broken and the build doesn’t get far enough to produce a hash anyway.
2018-10-27loc: enable darwin buildDaiderd Jordan1-2/+2
It works fine there and probably other unix platforms.
2018-07-21pkgs/*: remove unreferenced function argumentsvolth1-1/+1
2018-04-06Remove maintainershipMatthias Beyer1-1/+1
With this patch I remove myself as a maintainer for all packages I currently maintain. This is due the fact that I will be basically off the grid from May 2018 until early 2019, as I will be on a trip through north america. I will revert this patch as soon as I'm back, as I plan to continue contributing to nixpkgs then. But as I cannot maintain anything during that time, I'd like to get this patch merged. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2017-11-10Change many homepage urls from http to https #30636Pascal Wittmann1-1/+1
2017-10-31loc: 2017-06-23 -> 0.4.1Matthias Beyer1-4/+4
2017-10-23rust: update cargo builder to fetch registry dynamicallyKevin Cox1-4/+4
The biggest benefit is that we no longer have to update the registry package. This means that just about any cargo package can be built by nix. No longer does `cargo update` need to be feared because it will update to packages newer then what is available in nixpkgs. Instead of fetching the cargo registry this bundles all the source code into a "vendor/" folder. This also uses the new --frozen and --locked flags which is nice. Currently cargo-vendor only provides binaries for Linux and macOS 64-bit. This can be solved by building it for the other architectures and uploading it somewhere (like the NixOS cache). This also has the downside that it requires a change to everyone's deps hash. And if the old one is used because it was cached it will fail to build as it will attempt to use the old version. For this reason the attribute has been renamed to `cargoSha256`. Authors: * Kevin Cox <kevincox@kevincox.ca> * Jörg Thalheim <Mic92@users.noreply.github.com> * zimbatm <zimbatm@zimbatm.com>
2017-08-01pkgs: refactor needless quoting of homepage meta attribute (#27809)Silvan Mosberger1-1/+1
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
2016-12-08loc: 0.3.3 -> 0.3.4Gabriel Ebner1-4/+4
2016-10-30loc: 0.3.0 -> 0.3.3Gabriel Ebner1-5/+5
2016-10-28loc: init at 0.3.0Matthias Beyer1-0/+26