1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/applications/version-management/vcprompt/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

32 lines
784 B
Nix

{ lib, stdenv, fetchhg, autoconf, sqlite }:
stdenv.mkDerivation rec {
pname = "vcprompt";
version = "1.2.1";
src = fetchhg {
url = "http://hg.gerg.ca/vcprompt/";
rev = version;
sha256 = "03xqvp6bfl98bpacrw4n82qv9cw6a4fxci802s3vrygas989v1kj";
};
buildInputs = [ sqlite autoconf ];
preConfigure = ''
autoconf
makeFlags="$makeFlags PREFIX=$out"
'';
meta = with lib; {
description = ''
A little C program that prints a short string with barebones information
about the current working directory for various version control systems
'';
homepage = "http://hg.gerg.ca/vcprompt";
maintainers = [ ];
platforms = with platforms; linux ++ darwin;
license = licenses.gpl2Plus;
mainProgram = "vcprompt";
};
}