no stdenv.lib

master
Daniel Olsen 2021-05-03 14:21:16 +02:00
parent 2ba1bb9605
commit 06eb350879
5 changed files with 10 additions and 10 deletions

2
ci.nix
View File

@ -9,7 +9,7 @@
# then your CI will be able to build and cache only those packages for
# which this is possible.
{ pkgs ? import <nixpkgs> {} }:
{ pkgs ? import <nixos-unstable> {} }:
with builtins;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gnuplot, ruby }:
{ lib, stdenv, fetchFromGitHub, gnuplot, ruby }:
stdenv.mkDerivation {
name = "eplot-unstable-2018-09-03";
@ -20,7 +20,7 @@ stdenv.mkDerivation {
sed -i -e "s|gnuplot -persist|${gnuplot}/bin/gnuplot -persist|" "$out/bin/eplot"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Create plots quickly with gnuplot";
longDescription = ''
eplot ("easy gnuplot") is a ruby script which allows to pipe data easily

View File

@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub, libpng, libjpeg, giflib, perl, pkg-config}:
{ lib, stdenv, fetchFromGitHub, libpng, libjpeg, giflib, perl, pkg-config}:
stdenv.mkDerivation {
pname = "metapixel";
@ -24,10 +24,10 @@ stdenv.mkDerivation {
cp metapixel-sizesort $out/bin/metapixel-sizesort
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/schani/metapixel";
description = "Tool for generating photomosaics";
license = licenses.gpl2;
maintainers = with maintainers; [ dandellion ];
# maintainers = with maintainers; [ dandellion ];
};
}

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, jre_headless, minecraft-server }:
{ lib, stdenv, fetchurl, jre_headless, minecraft-server }:
stdenv.mkDerivation rec {
pname = "minecraft-server-fabric";
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
phases = "installPhase";
meta = with stdenv.lib; {
meta = with lib; {
description = "minecraft with the fabric modloader";
license = licenses.unfree;
platforms = platforms.all;

View File

@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub, pkg-config, libusb1, libudev}:
{ lib, stdenv, fetchFromGitHub, pkg-config, libusb1, libudev}:
stdenv.mkDerivation {
pname = "wii-u-gc-adapter";
@ -14,7 +14,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1 libudev ];
meta = with stdenv.lib; {
meta = with lib; {
broken = true;
homepage = "https://github.com/ToadKing/wii-u-gc-adapter";
description = "Tool for using the Wii U GameCube Adapter on Linux";