mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
Merge pull request #94225 from sternenseemann/lowdown
lowdown: init at 0.7.2
This commit is contained in:
commit
69f615cb7a
30
pkgs/tools/typesetting/lowdown/default.nix
Normal file
30
pkgs/tools/typesetting/lowdown/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchurl, which }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lowdown";
|
||||
version = "0.7.2";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-${version}.tar.gz";
|
||||
sha512 = "3ks1jfw4rjm0qb87ask7wx0xx1grxhbpg53r86q74zhsiqqi6xiza2czg75mydmgic1nr9ny43d5p44sl8ihhja9kwdx230nblx1176";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ which ];
|
||||
|
||||
configurePhase = ''
|
||||
./configure PREFIX=''${!outputDev} \
|
||||
BINDIR=''${!outputBin}/bin \
|
||||
MANDIR=''${!outputBin}/share/man
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://kristaps.bsd.lv/lowdown/";
|
||||
description = "Simple markdown translator";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
@ -2076,6 +2076,8 @@ in
|
|||
|
||||
long-shebang = callPackage ../misc/long-shebang {};
|
||||
|
||||
lowdown = callPackage ../tools/typesetting/lowdown { };
|
||||
|
||||
numatop = callPackage ../os-specific/linux/numatop { };
|
||||
|
||||
iio-sensor-proxy = callPackage ../os-specific/linux/iio-sensor-proxy { };
|
||||
|
|
Loading…
Reference in a new issue