Merge master into staging-next
This commit is contained in:
@@ -4,11 +4,11 @@ gobject-introspection, gsettings-desktop-schemas, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "birdfont";
|
||||
version = "2.27.0";
|
||||
version = "2.28.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://birdfont.org/releases/${pname}-${version}.tar.xz";
|
||||
sha256 = "0dr2cnvq30wak0j2k8089is7fvhw0ppwkfrrw1m649s2b95wav3q";
|
||||
sha256 = "19i7wzngi695dp4w0235wmfcnagdw3i40mzf89sddr1mqzvipfrz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python3 pkgconfig vala_0_44 gobject-introspection wrapGAppsHook ];
|
||||
|
||||
@@ -1,47 +1,56 @@
|
||||
{ stdenv, fetchurl, udev, intltool, pkgconfig, glib, xmlto, wrapGAppsHook
|
||||
{ stdenv, fetchFromGitHub, udev, intltool, pkgconfig, glib, xmlto, wrapGAppsHook
|
||||
, docbook_xml_dtd_412, docbook_xsl
|
||||
, libxml2, desktop-file-utils, libusb1, cups, gdk-pixbuf, pango, atk, libnotify
|
||||
, gobject-introspection, libsecret
|
||||
, gobject-introspection, libsecret, packagekit
|
||||
, cups-filters
|
||||
, pythonPackages
|
||||
, python3Packages, autoreconfHook, bash
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "system-config-printer";
|
||||
version = "1.5.11";
|
||||
version = "1.5.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/zdohnal/system-config-printer/releases/download/${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q";
|
||||
src = fetchFromGitHub {
|
||||
owner = "openPrinting";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1a812jsd9pb02jbz9bq16qj5j6k2kw44g7s1xdqqkg7061rd7mwf";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
# for automake
|
||||
touch README ChangeLog
|
||||
# for tests
|
||||
substituteInPlace Makefile.am --replace /bin/bash ${bash}/bin/bash
|
||||
'';
|
||||
|
||||
patches = [ ./detect_serverbindir.patch ];
|
||||
|
||||
buildInputs = [
|
||||
glib udev libusb1 cups
|
||||
pythonPackages.python
|
||||
libnotify gobject-introspection gdk-pixbuf pango atk
|
||||
python3Packages.python
|
||||
libnotify gobject-introspection gdk-pixbuf pango atk packagekit
|
||||
libsecret
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
intltool pkgconfig
|
||||
xmlto libxml2 docbook_xml_dtd_412 docbook_xsl desktop-file-utils
|
||||
pythonPackages.wrapPython
|
||||
wrapGAppsHook
|
||||
python3Packages.wrapPython
|
||||
wrapGAppsHook autoreconfHook
|
||||
];
|
||||
|
||||
pythonPath = with pythonPackages; requiredPythonModules [ pycups pycurl dbus-python pygobject3 requests pycairo pysmbc ];
|
||||
pythonPath = with python3Packages; requiredPythonModules [ pycups pycurl dbus-python pygobject3 requests pycairo pysmbc ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-udev-rules"
|
||||
"--with-udevdir=$(out)/etc/udev"
|
||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||
"--with-udevdir=${placeholder "out"}/etc/udev"
|
||||
"--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
|
||||
];
|
||||
|
||||
stripDebugList = [ "bin" "lib" "etc/udev" ];
|
||||
|
||||
doCheck = false; # generates shebangs in check phase, too lazy to fix
|
||||
doCheck = true;
|
||||
|
||||
postInstall =
|
||||
''
|
||||
@@ -54,20 +63,14 @@ stdenv.mkDerivation rec {
|
||||
find $out/share/system-config-printer -name \*.py -type f -perm -0100 -print0 | while read -d "" f; do
|
||||
patchPythonScript "$f"
|
||||
done
|
||||
|
||||
# The below line will be unneeded when the next upstream release arrives.
|
||||
sed -i -e "s|/usr/local/bin|$out/bin|" "$out/share/dbus-1/services/org.fedoraproject.Config.Printing.service"
|
||||
|
||||
# Manually expand literal "$(out)", which have failed to expand
|
||||
sed -e "s|ExecStart=\$(out)|ExecStart=$out|" \
|
||||
-i "$out/etc/systemd/system/configure-printer@.service"
|
||||
patchPythonScript $out/etc/udev/udev-add-printer
|
||||
|
||||
substituteInPlace $out/etc/udev/rules.d/70-printers.rules \
|
||||
--replace "udev-configure-printer" "$out/etc/udev/udev-configure-printer"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://cyberelk.net/tim/software/system-config-printer/;
|
||||
homepage = "https://github.com/openprinting/system-config-printer";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nss-pam-ldapd";
|
||||
version = "0.9.10";
|
||||
version = "0.9.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://arthurdejong.org/nss-pam-ldapd/${pname}-${version}.tar.gz";
|
||||
sha256 = "1cqamcr6qpgwxijlr6kg7jspjamjra8w0haan0qssn0yxn95d7c0";
|
||||
sha256 = "1dna3r0q6sjhhlkhcp8x2zkslrd4y7701kk6fl5r940sdph1pmyh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig makeWrapper autoreconfHook ];
|
||||
|
||||
@@ -16,11 +16,11 @@ let
|
||||
pname = "bitwarden";
|
||||
|
||||
version = {
|
||||
x86_64-linux = "1.16.4";
|
||||
x86_64-linux = "1.16.6";
|
||||
}.${system} or "";
|
||||
|
||||
sha256 = {
|
||||
x86_64-linux = "1g9ljxjqs7mx509lkfd7db7xvm9srzypbgv0qfzrr2flqbsfl06m";
|
||||
x86_64-linux = "074hqm4gjljc82nhn7h6wsd74567390018fi3v38g7jh7aph10jj";
|
||||
}.${system} or "";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bitwarden_rs-vault";
|
||||
version = "2.11.0";
|
||||
version = "2.12.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
|
||||
sha256 = "06f0rcpqhz5qjm01jbxx2czhnj9ng29rgsrilm5r5xx31s9dnhg7";
|
||||
sha256 = "064dxfplqn67grpx03ryzshwmr7s00w4mll0hk0anddviwvd8r1n";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
|
||||
@@ -2,29 +2,30 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "facter";
|
||||
version = "3.13.2";
|
||||
version = "3.14.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "1yaj1qlyzsaffzpm4zmzm53mc6bhpzka8wc3dfk909nzykxg34zf";
|
||||
sha256 = "0xzzhlsfw8yd3ac4kvr3za0rlkgfw28dzxzi5i1qbhzljivvipm5";
|
||||
rev = version;
|
||||
repo = "facter";
|
||||
repo = pname;
|
||||
owner = "puppetlabs";
|
||||
};
|
||||
|
||||
CXXFLAGS = "-fpermissive -Wno-error=catch-value";
|
||||
NIX_LDFLAGS = "-lblkid";
|
||||
|
||||
cmakeFlags = [ "-DFACTER_RUBY=${ruby}/lib/libruby.so" ];
|
||||
cmakeFlags = [
|
||||
"-DFACTER_RUBY=${ruby}/lib/libruby.so"
|
||||
"-DRUBY_LIB_INSTALL=${placeholder "out"}/lib/ruby"
|
||||
];
|
||||
|
||||
# since we cant expand $out in cmakeFlags
|
||||
preConfigure = "cmakeFlags+=\" -DRUBY_LIB_INSTALL=$out/lib/ruby\"";
|
||||
|
||||
buildInputs = [ boost cmake cpp-hocon curl leatherman libwhereami libyamlcpp openssl ruby utillinux ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ boost cpp-hocon curl leatherman libwhereami libyamlcpp openssl ruby utillinux ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/puppetlabs/facter;
|
||||
homepage = "https://github.com/puppetlabs/facter";
|
||||
description = "A system inventory tool";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.womfoo ];
|
||||
|
||||
36
pkgs/tools/text/tab/default.nix
Normal file
36
pkgs/tools/text/tab/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchFromBitbucket, python2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "7.2";
|
||||
pname = "tab";
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "tkatchev";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1bm15lw0vp901dj2vsqx6yixmn7ls3brrzh1w6zgd1ksjzlm5aax";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python2 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkTarget = "test";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm555 -t $out/bin tab
|
||||
install -Dm444 -t $out/share/doc/tab docs/*.html
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Programming language/shell calculator";
|
||||
homepage = https://tkatchev.bitbucket.io/tab/;
|
||||
license = licenses.boost;
|
||||
maintainers = with maintainers; [ mstarzyk ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user