mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
6c15656a06
This adds the vcprompt utility, a little C program that prints a short string with barebones information about the current working directory for various version control systems.
29 lines
722 B
Nix
29 lines
722 B
Nix
{ stdenv, fetchhg, autoconf, sqlite }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "vcprompt";
|
|
|
|
src = fetchhg {
|
|
url = "http://hg.gerg.ca/vcprompt/";
|
|
rev = "1.2.1";
|
|
sha256 = "03xqvp6bfl98bpacrw4n82qv9cw6a4fxci802s3vrygas989v1kj";
|
|
};
|
|
|
|
buildInputs = [ sqlite autoconf ];
|
|
|
|
preConfigure = ''
|
|
autoconf
|
|
makeFlags="$makeFlags PREFIX=$out"
|
|
'';
|
|
|
|
meta = with stdenv.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 = with maintainers; [ cstrahan ];
|
|
platforms = with platforms; linux ++ darwin;
|
|
};
|
|
}
|