commit
29650fb82e
@ -1,34 +0,0 @@ |
||||
{ lib, stdenv, fetchurl, pkg-config, deadbeef, gtk3, libxml2 }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "deadbeef-infobar-plugin"; |
||||
version = "1.4"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://bitbucket.org/dsimbiriatin/deadbeef-infobar/downloads/deadbeef-infobar-${version}.tar.gz"; |
||||
sha256 = "0c9wh3wh1hdww7v96i8cy797la06mylhfi0880k8vwh88079aapf"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ pkg-config ]; |
||||
buildInputs = [ deadbeef gtk3 libxml2 ]; |
||||
|
||||
buildFlags = [ "gtk3" ]; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
|
||||
mkdir -p $out/lib/deadbeef |
||||
cp gtk3/ddb_infobar_gtk3.so $out/lib/deadbeef |
||||
|
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
broken = true; # crashes DeaDBeeF and is abandoned (https://bitbucket.org/dsimbiriatin/deadbeef-infobar/issues/38/infobar-causes-deadbeef-180-to-crash) |
||||
description = "DeaDBeeF Infobar Plugin"; |
||||
homepage = "https://bitbucket.org/dsimbiriatin/deadbeef-infobar"; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = [ maintainers.jtojnar ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -1,62 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper |
||||
, shntool, cuetools |
||||
, flac, faac, mp4v2, wavpack, mac |
||||
, imagemagick, libiconv, enca, lame, mutagen, vorbis-tools |
||||
, aacgain, mp3gain, vorbisgain |
||||
}: |
||||
|
||||
let |
||||
wrapSplit2flac = format: '' |
||||
makeWrapper $out/bin/.split2flac-wrapped $out/bin/split2${format} \ |
||||
--set SPLIT2FLAC_FORMAT ${format} \ |
||||
--prefix PATH : ${lib.makeBinPath [ |
||||
shntool cuetools |
||||
flac faac mp4v2 wavpack mac |
||||
imagemagick libiconv enca lame mutagen vorbis-tools |
||||
aacgain mp3gain vorbisgain |
||||
]} |
||||
''; |
||||
|
||||
in stdenv.mkDerivation rec { |
||||
pname = "split2flac"; |
||||
version = "122"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "ftrvxmtrx"; |
||||
repo = "split2flac"; |
||||
rev = version; |
||||
sha256 = "1a71amamip25hhqx7wwzfcl3d5snry9xsiha0kw73iq2m83r2k63"; |
||||
}; |
||||
|
||||
dontBuild = true; |
||||
|
||||
nativeBuildInputs = [ makeWrapper ]; |
||||
|
||||
patchPhase = '' |
||||
substituteInPlace split2flac \ |
||||
--replace 'FORMAT="''${0##*split2}"' 'FORMAT=''${SPLIT2FLAC_FORMAT:-flac}' |
||||
''; |
||||
|
||||
installPhase = '' |
||||
mkdir -p $out/share/bash-completion/completions |
||||
cp split2flac-bash-completion.sh \ |
||||
$out/share/bash-completion/completions/split2flac-bash-completion.sh |
||||
|
||||
mkdir -p $out/bin |
||||
cp split2flac $out/bin/.split2flac-wrapped |
||||
|
||||
${wrapSplit2flac "flac"} |
||||
${wrapSplit2flac "mp3"} |
||||
${wrapSplit2flac "ogg"} |
||||
${wrapSplit2flac "m4a"} |
||||
${wrapSplit2flac "wav"} |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "Split flac/ape/wv/wav + cue sheet into separate tracks"; |
||||
homepage = "https://github.com/ftrvxmtrx/split2flac"; |
||||
license = licenses.mit; |
||||
platforms = platforms.all; |
||||
maintainers = with maintainers; [ jfrankenau ]; |
||||
}; |
||||
} |
@ -1,34 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, fetchurl, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline |
||||
, qtbase, qmake, libGLU |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "0.9.8"; |
||||
pname = "rapcad"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "gilesbathgate"; |
||||
repo = "rapcad"; |
||||
rev = "v${version}"; |
||||
sha256 = "0a0sqf6h227zalh0jrz6jpm8iwji7q3i31plqk76i4qm9vsgrhir"; |
||||
}; |
||||
|
||||
patches = [ |
||||
(fetchurl { |
||||
url = "https://github.com/GilesBathgate/RapCAD/commit/278a8d6c7b8fe08f867002528bbab4a6319a7bb6.patch"; |
||||
sha256 = "1vvkyf0wg79zdzs5zlggfrr1lrp1x75dglzl0mspnycwldsdwznj"; |
||||
name = "disable-QVector-qHash.patch"; |
||||
}) |
||||
]; |
||||
|
||||
nativeBuildInputs = [ qmake ]; |
||||
buildInputs = [ qtbase cgal boost gmp mpfr flex bison dxflib readline libGLU ]; |
||||
|
||||
meta = with lib; { |
||||
license = licenses.gpl3; |
||||
maintainers = [ maintainers.raskin ]; |
||||
platforms = platforms.linux; |
||||
description = "Constructive solid geometry package"; |
||||
broken = true; # 2018-04-11 |
||||
}; |
||||
} |
@ -1,115 +0,0 @@ |
||||
{ fetchFromGitHub, libxcb, mtools, p7zip, parted, procps, qemu, unzip, zip, |
||||
coreutils, gnugrep, which, gnused, e2fsprogs, autoPatchelfHook, gptfdisk, |
||||
python3Packages, qt5, runtimeShell, lib, util-linux, wrapQtAppsHook }: |
||||
|
||||
# Note: Multibootusb is tricky to maintain. It relies on the |
||||
# $PYTHONPATH variable containing some of their code, so that |
||||
# something like: |
||||
# |
||||
# from scripts import config |
||||
# |
||||
# works. It also relies on the current directory to find some runtime |
||||
# resources thanks to a use of __file__. |
||||
# |
||||
# https://github.com/mbusb/multibootusb/blob/0d34d70c3868f1d7695cfd141141b17c075de967/scripts/osdriver.py#L59 |
||||
|
||||
python3Packages.buildPythonApplication rec { |
||||
pname = "multibootusb"; |
||||
name = "${pname}-${version}"; |
||||
version = "9.2.0"; |
||||
|
||||
nativeBuildInputs = [ |
||||
wrapQtAppsHook |
||||
autoPatchelfHook |
||||
unzip |
||||
zip |
||||
]; |
||||
|
||||
runTimeDeps = [ |
||||
coreutils |
||||
gnugrep |
||||
which |
||||
parted |
||||
util-linux |
||||
qemu |
||||
p7zip |
||||
gnused |
||||
mtools |
||||
procps |
||||
e2fsprogs |
||||
gptfdisk |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
libxcb |
||||
python3Packages.python |
||||
qt5.full |
||||
]; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "mbusb"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
|
||||
sha256 = "0wlan0cp6c2i0nahixgpmkm0h4n518gj8rc515d579pqqp91p2h3"; |
||||
}; |
||||
|
||||
# Tests can't run inside the NixOS sandbox |
||||
# "Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory" |
||||
doCheck = false; |
||||
|
||||
pythonPath = with python3Packages; [ |
||||
dbus-python |
||||
pyqt5 |
||||
pytest-shutil |
||||
pyudev |
||||
six |
||||
]; |
||||
|
||||
# multibootusb ships zips with various versions of syslinux, we need to patchelf them |
||||
postPatch = '' |
||||
for zip in $(find . -name "*.zip"); do |
||||
zip=$(readlink -f $zip) |
||||
target="$(mktemp -d)" |
||||
pushd $target |
||||
unzip $zip |
||||
rm $zip |
||||
autoPatchelf . |
||||
zip -r $zip * |
||||
popd |
||||
done |
||||
''; |
||||
|
||||
postInstall = '' |
||||
# This script doesn't work and it doesn't add much anyway |
||||
rm $out/bin/multibootusb-pkexec |
||||
|
||||
# The installed data isn't sufficient for whatever reason, missing gdisk/gdisk.exe |
||||
mkdir -p "$out/share/${pname}" |
||||
cp -r data "$out/share/${pname}/data" |
||||
''; |
||||
|
||||
preFixup = '' |
||||
makeWrapperArgs+=( |
||||
# Firstly, add all necessary QT variables |
||||
"''${qtWrapperArgs[@]}" |
||||
|
||||
# Then, add the installed scripts/ directory to the python path |
||||
--prefix "PYTHONPATH" ":" "$out/lib/${python3Packages.python.libPrefix}/site-packages" |
||||
|
||||
# Add some runtime dependencies |
||||
--prefix "PATH" ":" "${lib.makeBinPath runTimeDeps}" |
||||
|
||||
# Finally, move to directory that contains data |
||||
--chdir "$out/share/${pname}" |
||||
) |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "Multiboot USB creator for Linux live disks"; |
||||
homepage = "http://multibootusb.org/"; |
||||
license = licenses.gpl2; |
||||
maintainers = []; # Looking for a maintainer! |
||||
broken = true; # "name 'config' is not defined", added 2021-02-06 |
||||
}; |
||||
} |
@ -0,0 +1,23 @@ |
||||
{ fetchzip, lib }: |
||||
|
||||
let |
||||
version = "1.500"; |
||||
in |
||||
fetchzip { |
||||
name = "sil-abyssinica-${version}"; |
||||
url = "mirror://debian/pool/main/f/fonts-sil-abyssinica/fonts-sil-abyssinica_${version}.orig.tar.xz"; |
||||
sha256 = "sha256-fCa88wG2JfHTaHaBkuvoncbcbrh3XNzc8ewS3W+W/fM="; |
||||
|
||||
postFetch = '' |
||||
mkdir -p $out/share/fonts |
||||
tar xf $downloadedFile --strip-components=1 -C $out/share/fonts AbyssinicaSIL-${version}/AbyssinicaSIL-R.ttf |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "Unicode font for Ethiopian and Erythrean scripts (Amharic et al.)"; |
||||
homepage = "https://software.sil.org/abyssinica/"; |
||||
license = licenses.ofl; |
||||
maintainers = with lib.maintainers; [ serge ]; |
||||
platforms = platforms.all; |
||||
}; |
||||
} |
@ -1,23 +0,0 @@ |
||||
{ lib, stdenv, fetchurl, bison, libuuid, curl, libxml2, flex }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "3.20.6"; |
||||
pname = "libdap"; |
||||
|
||||
nativeBuildInputs = [ bison flex ]; |
||||
buildInputs = [ libuuid curl libxml2 ]; |
||||
|
||||
src = fetchurl { |
||||
url = "https://www.opendap.org/pub/source/${pname}-${version}.tar.gz"; |
||||
sha256 = "0jn5bi8k2lq6mmrsw7r1r5aviyf8gb39b2iy20v4kpkj5napzk1m"; |
||||
}; |
||||
|
||||
meta = with lib; { |
||||
description = "A C++ SDK which contains an implementation of DAP"; |
||||
homepage = "https://www.opendap.org/software/libdap"; |
||||
license = licenses.lgpl2; |
||||
maintainers = [ maintainers.bzizou ]; |
||||
platforms = platforms.linux; |
||||
broken = true; |
||||
}; |
||||
} |
@ -1,10 +0,0 @@ |
||||
{ libssh2, fetchurl }: |
||||
|
||||
libssh2.overrideAttrs (attrs: rec { |
||||
version = "1.10.0"; |
||||
src = fetchurl { |
||||
url = with attrs; "${meta.homepage}/download/${pname}-${version}.tar.gz"; |
||||
sha256 = "sha256-LWTpDz3tOUuR06LndMogOkF59prr7gMAPlpvpiHkHVE="; |
||||
}; |
||||
patches = []; |
||||
}) |
@ -1,27 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, cmake, opencv, qtbase, qtsvg }: |
||||
|
||||
stdenv.mkDerivation { |
||||
|
||||
version = "0.5"; |
||||
pname = "openbr"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "biometrics"; |
||||
repo = "openbr"; |
||||
rev = "cc364a89a86698cd8d3052f42a3cb520c929b325"; |
||||
sha256 = "12y00cf5dlzp9ciiwbihf6xhlkdxpydhscv5hwp83qjdllid9rrz"; |
||||
}; |
||||
|
||||
buildInputs = [ opencv qtbase qtsvg ]; |
||||
|
||||
nativeBuildInputs = [ cmake ]; |
||||
|
||||
meta = { |
||||
description = "Open Source Biometric Recognition"; |
||||
homepage = "http://openbiometrics.org/"; |
||||
license = lib.licenses.asl20; |
||||
maintainers = with lib.maintainers; [flosse]; |
||||
platforms = with lib.platforms; linux; |
||||
broken = true; |
||||
}; |
||||
} |
@ -0,0 +1,57 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchPypi |
||||
, zeroconf |
||||
, requests |
||||
, setuptools |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "moku"; |
||||
version = "2.3"; |
||||
|
||||
/* |
||||
|
||||
Pypi's webpage <https://pypi.org/project/moku/> lists |
||||
https://github.com/liquidinstruments/moku/archive/${version}.tar.gz as the |
||||
download link, but that repository doesn't exist from some reason :/. When |
||||
packaging this, I didn't find any mention of a git repo of the sources. Note |
||||
that the pymoku <https://github.com/liquidinstruments/pymoku> repo holds the |
||||
sources of the legacy API package. |
||||
|
||||
*/ |
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
hash = "sha256-EzVcECjJyrr2NLQkG0Yp/jYBMnsEP1/FnS5O3UplszI="; |
||||
}; |
||||
/* |
||||
|
||||
Note: If you run `moku download` and encounter the error: |
||||
|
||||
[Errno 13] Permission denied: '/nix/store/.../lib/python 3.9/site-packages/moku/data' |
||||
|
||||
Then use the $MOKU_DATA_PATH environment variable to control where the |
||||
downloaded files will go to. It is undocumented upstream and there's no |
||||
repository to contribute such documentation unfortunately. Also there is no |
||||
suitable default value for this on Nix systems, so there's no patch we can |
||||
apply locally to make the situation better. |
||||
|
||||
*/ |
||||
|
||||
propagatedBuildInputs = [ |
||||
zeroconf |
||||
requests |
||||
setuptools |
||||
]; |
||||
|
||||
pythonImportsCheck = [ |
||||
"moku" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python scripting interface to the Liquid Instruments Moku"; |
||||
homepage = "https://apis.liquidinstruments.com/starting-python.html"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ doronbehar ]; |
||||
}; |
||||
} |
@ -0,0 +1,59 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, cython |
||||
, fetchFromGitHub |
||||
, libpcap |
||||
, pkgconfig |
||||
, pytestCheckHook |
||||
, python |
||||
, pythonOlder |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "pcapy-ng"; |
||||
version = "1.0.9"; |
||||
format = "setuptools"; |
||||
|
||||
disabled = pythonOlder "3.7"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "stamparm"; |
||||
repo = pname; |
||||
rev = version; |
||||
hash = "sha256-6LA2n7Kv0MiZcqUJpi0lDN4Q+GcOttYw7hJwVqK/DU0="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
cython |
||||
pkgconfig |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
libpcap |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
preCheck = '' |
||||
cd tests |
||||
''; |
||||
|
||||
pythonImportsCheck = [ |
||||
"pcapy" |
||||
]; |
||||
|
||||
doCheck = pythonOlder "3.10"; |
||||
|
||||
pytestFlagsArray = [ |
||||
"pcapytests.py" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Module to interface with the libpcap packet capture library"; |
||||
homepage = "https://github.com/stamparm/pcapy-ng/"; |
||||
license = licenses.bsd2; |
||||
maintainers = with maintainers; [ fab ]; |
||||
}; |
||||
} |
@ -0,0 +1,31 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchPypi |
||||
, flit |
||||
, hypothesis |
||||
, pytestCheckHook |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "validobj"; |
||||
version = "0.5.1"; |
||||
format = "pyproject"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "430b0b56931a2cebdb857a9fe9da2467c06a3b4db37b728e7f1a8706e8887705"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ flit ]; |
||||
|
||||
checkInputs = [ hypothesis pytestCheckHook ]; |
||||
|
||||
pythonImportsCheck = [ "validobj" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Validobj is library that takes semistructured data (for example JSON and YAML configuration files) and converts it to more structured Python objects"; |
||||
homepage = "https://github.com/Zaharid/validobj"; |
||||
license = with licenses; [ mit ]; |
||||
maintainers = with maintainers; [ veprbl ]; |
||||
}; |
||||
} |
@ -1,57 +0,0 @@ |
||||
{ mkDerivation, lib, fetchFromGitHub |
||||
, cmake, git, pkg-config, wget, zip |
||||
, qtbase, qtx11extras |
||||
, libdwarf, libjpeg_turbo, libunwind, xz, tinyxml, libX11 |
||||
, SDL2, SDL2_gfx, SDL2_image, SDL2_ttf |
||||
, freeglut, libGLU |
||||
, fetchpatch |
||||
}: |
||||
|
||||
mkDerivation { |
||||
pname = "vogl"; |
||||
version = "2016-05-13"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "deepfire"; |
||||
repo = "vogl"; |
||||
rev = "cbc5f1853e294b363f16c4e00b3e0c49dbf74559"; |
||||
sha256 = "17gwd73x3lnqv6ccqs48pzqwbzjhbn41c0x0l5zzirhiirb3yh0n"; |
||||
}; |
||||
|
||||
patches = [ |
||||
(fetchpatch { |
||||
name = "fix-qt59.patch"; |
||||
url = "https://github.com/ValveSoftware/vogl/commit/be3d85f.patch"; |
||||
sha256 = "1yh4jd35mds337waqxdw3w22w7ghn05b5jm7fb4iihl39mhq6qyv"; |
||||
}) |
||||
]; |
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ]; |
||||
|
||||
buildInputs = [ |
||||
git wget zip |
||||
qtbase qtx11extras |
||||
libdwarf libjpeg_turbo libunwind xz tinyxml libX11 |
||||
SDL2 SDL2_gfx SDL2_image SDL2_ttf |
||||
freeglut libGLU |
||||
]; |
||||
|
||||
dontUseCmakeBuildDir = true; |
||||
preConfigure = '' |
||||
cmakeDir=$PWD |
||||
mkdir -p vogl/vogl_build/release64 && cd $_ |
||||
''; |
||||
cmakeFlags = [ |
||||
"-DCMAKE_VERBOSE=On" |
||||
"-DBUILD_X64=On" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "OpenGL capture / playback debugger"; |
||||
homepage = "https://github.com/ValveSoftware/vogl"; |
||||
license = licenses.mit; |
||||
maintainers = [ maintainers.deepfire ]; |
||||
platforms = [ "x86_64-linux" "i686-linux" ]; |
||||
broken = true; |
||||
}; |
||||
} |
@ -1,44 +0,0 @@ |
||||
# Tested on linux-x86_64. Might work on linux-i386. Probably won't work on anything else. |
||||
|
||||
# To use this driver in NixOS, add it to printing.drivers in configuration.nix. |
||||
# configuration.nix might look like this when you're done: |
||||
# { pkgs, ... }: { |
||||
# printing = { |
||||
# enable = true; |
||||
# drivers = [ pkgs.samsungUnifiedLinuxDriver ]; |
||||
# }; |
||||
# (more stuff) |
||||
# } |
||||
# (This advice was tested on 2010 August 2.) |
||||
|
||||
{ lib, stdenv, fetchurl, cups, gcc, ghostscript, glibc, patchelf }: |
||||
|
||||
# Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html> |
||||
# to see what will break when upgrading. Consider a new versioned attribute. |
||||
let |
||||
cups' = lib.getLib cups; |
||||
in stdenv.mkDerivation rec { |
||||
pname = "samsung-UnifiedLinuxDriver"; |
||||
version = "4.00.39"; |
||||
|
||||
src = fetchurl { |
||||
url = "http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-${version}.tar.gz"; |
||||
sha256 = "144b4xggbzjfq7ga5nza7nra2cf6qn63z5ls7ba1jybkx1vm369k"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ patchelf ]; |
||||
buildInputs = [ cups' gcc ghostscript glibc ]; |
||||
|
||||
inherit gcc ghostscript glibc; |
||||
cups = cups'; |
||||
|
||||
builder = ./builder.sh; |
||||
|
||||
meta = with lib; { |
||||
description = "Samsung's Linux printing drivers; includes binaries without source code"; |
||||
homepage = "http://www.samsung.com/"; |
||||
license = licenses.unfree; |
||||
platforms = platforms.linux; |
||||
broken = true; # libscmssc.so and libmfp.so can't find their library dependencies at run-time |
||||
}; |
||||
} |
@ -1,42 +1,44 @@ |
||||
{ lib, stdenv, fetchurl, autoreconfHook |
||||
, ncurses #acinclude.m4 wants headers for tgetent(). |
||||
, historySupport ? false |
||||
, readline ? null |
||||
}: |
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, byacc |
||||
, ncurses, readline |
||||
, historySupport ? false, readlineSupport ? true }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "rc"; |
||||
version = "1.7.4"; |
||||
version = "unstable-2021-08-03"; |
||||
|
||||
src = fetchurl { |
||||
url = "http://static.tobold.org/rc/rc-${version}.tar.gz"; |
||||
sha256 = "1n5zz6d6z4z6s3fwa0pscqqawy561k4xfnmi91i626hcvls67ljy"; |
||||
src = fetchFromGitHub { |
||||
owner = "rakitzis"; |
||||
repo = "rc"; |
||||
rev = "8ca9ab1305c3e30cd064290081d6e5a1fa841d26"; |
||||
sha256 = "0744ars6y9zzsjr9xazms91qy6bi7msg2gg87526waziahfh4s4z"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ autoreconfHook ]; |
||||
buildInputs = [ ncurses ] |
||||
++ lib.optionals (readline != null) [ readline ]; |
||||
|
||||
# acinclude.m4 wants headers for tgetent(). |
||||
buildInputs = [ byacc ncurses ] |
||||
++ lib.optionals readlineSupport [ readline ]; |
||||
|
||||
configureFlags = [ |
||||
"--enable-def-interp=${stdenv.shell}" #183 |
||||
] ++ lib.optionals historySupport [ "--with-history" ] |
||||
++ lib.optionals (readline != null) [ "--with-edit=readline" ]; |
||||
++ lib.optionals readlineSupport [ "--with-edit=readline" ]; |
||||
|
||||
prePatch = '' |
||||
#reproducible-build |
||||
postPatch = '' |
||||
substituteInPlace configure.ac \ |
||||
--replace "date -I" "echo 2015-05-13" #reproducible-build |
||||
--replace "$(git describe || echo '(git description unavailable)')" "${builtins.substring 0 7 src.rev}" |
||||
''; |
||||
|
||||
passthru = { |
||||
shellPath = "/bin/rc"; |
||||
}; |
||||
passthru.shellPath = "/bin/rc"; |
||||
|
||||
meta = with lib; { |
||||
description = "The Plan 9 shell"; |
||||
longDescription = "Byron Rakitzis' UNIX reimplementation of Tom Duff's Plan 9 shell."; |
||||
homepage = "http://tobold.org/article/rc"; |
||||
longDescription = "Byron Rakitzis' UNIX reimplementation of Tom Duff's Plan 9 shell"; |
||||
homepage = "https://web.archive.org/web/20180820053030/tobold.org/article/rc"; |
||||
license = with licenses; zlib; |
||||
maintainers = with maintainers; [ ramkromberg ]; |
||||
mainProgram = "rc"; |
||||
platforms = with platforms; all; |
||||
}; |
||||
} |
||||
|
@ -1,49 +0,0 @@ |
||||
{ lib, stdenv |
||||
, fetchFromGitHub |
||||
, cmake |
||||
, sqlite |
||||
, botan2 |
||||
, boost |
||||
, curl |
||||
, gettext |
||||
, pkg-config |
||||
, libusb1 |
||||
, gnutls }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "neopg"; |
||||
version = "0.0.6"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "das-labor"; |
||||
repo = "neopg"; |
||||
rev = "v${version}"; |
||||
sha256 = "15xp5w046ix59cfrhh8ka4camr0d8qqw643g184sqrcqwpk7nbrx"; |
||||
fetchSubmodules = true; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ cmake gettext pkg-config ]; |
||||
|
||||
buildInputs = [ sqlite botan2 boost curl libusb1 gnutls ]; |
||||
|
||||
doCheck = true; |
||||
checkTarget = "test"; |
||||
dontUseCmakeBuildDir = true; |
||||
|
||||
preCheck = '' |
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$(pwd)/3rdparty/googletest/googletest:$(pwd)/neopg |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://neopg.io/"; |
||||
description = "Modern replacement for GnuPG 2"; |
||||
license = licenses.gpl3; |
||||
longDescription = '' |
||||
NeoPG starts as an opiniated fork of GnuPG 2 to clean up the code and make it easier to develop. |
||||
It is written in C++11. |
||||
''; |
||||
maintainers = with maintainers; [ erictapen ]; |
||||
platforms = platforms.linux; |
||||
broken = true; # fails to build with recent versions of botan. https://github.com/das-labor/neopg/issues/98 |
||||
}; |
||||
} |
@ -1,44 +0,0 @@ |
||||
{ fetchurl, lib, stdenv, gcj, unzip }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "pdftk"; |
||||
version = "2.02"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-${version}-src.zip"; |
||||
sha256 = "1hdq6zm2dx2f9h7bjrp6a1hfa1ywgkwydp14i2sszjiszljnm3qi"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ gcj unzip ]; |
||||
|
||||
hardeningDisable = [ "fortify" "format" ]; |
||||
|
||||
preBuild = '' |
||||
cd pdftk |
||||
sed -e 's@/usr/bin/@@g' -i Makefile.* |
||||
NIX_ENFORCE_PURITY= \ |
||||
make \ |
||||
LIBGCJ="${gcj.cc}/share/java/libgcj-${gcj.cc.version}.jar" \ |
||||
GCJ=gcj GCJH=gcjh GJAR=gjar \ |
||||
-iC ../java all |
||||
''; |
||||
|
||||
# Makefile.Debian has almost fitting defaults |
||||
makeFlags = [ "-f" "Makefile.Debian" "VERSUFF=" ]; |
||||
|
||||
installPhase = '' |
||||
mkdir -p $out/bin $out/share/man/man1 |
||||
cp pdftk $out/bin |
||||
cp ../pdftk.1 $out/share/man/man1 |
||||
''; |
||||
|
||||
|
||||
meta = { |
||||
description = "Simple tool for doing everyday things with PDF documents"; |
||||
homepage = "https://www.pdflabs.com/tools/pdftk-server/"; |
||||
license = lib.licenses.gpl2; |
||||
maintainers = with lib.maintainers; [ raskin ]; |
||||
platforms = with lib.platforms; linux; |
||||
broken = true; # Broken on Hydra since 2020-08-24 |
||||
}; |
||||
} |
Loading…
Reference in new issue