Skip to content

Commit

Permalink
vcsh: 1.20170915 → 2.0.2
Browse files Browse the repository at this point in the history
Co-authored-by: Bobby Rong <[email protected]>
  • Loading branch information
2 people authored and doronbehar committed Sep 6, 2021
1 parent 8c7c2c3 commit 074ef76
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions pkgs/applications/version-management/vcsh/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
{ lib, stdenv, fetchFromGitHub, which, git, ronn, perlPackages }:
{ lib, stdenv
, fetchurl
, makeWrapper
, pkg-config
, git
, perlPackages
}:

stdenv.mkDerivation {
version = "1.20170915"; # date of commit we're pulling
stdenv.mkDerivation rec {
pname = "vcsh";
version = "2.0.2";

src = fetchFromGitHub {
owner = "RichiH";
repo = "vcsh";
rev = "eadb8df6aa71a76e5be36492edcadb118bd862ac";
sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1";
src = fetchurl {
url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz";
sha256 = "0qdd4f6rm5rhnym9f114pcj9vafhjjpg962c4g420rn78fxhpz1z";
};

buildInputs = [ which git ronn ]
++ (with perlPackages; [ perl ShellCommand TestMost TestDifferences TestDeep TestException TestWarn ]);
nativeBuildInputs = [
pkg-config
makeWrapper
];

installPhase = "make install PREFIX=$out";
buildInputs = [ git ];

checkInputs = []
++ (with perlPackages; [ perl ShellCommand TestMost ]);

outputs = [ "out" "doc" "man" ];

meta = with lib; {
description = "Version Control System for $HOME";
homepage = "https://github.com/RichiH/vcsh";
changelog = "https://github.com/RichiH/vcsh/blob/v${version}/changelog";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ttuegel ];
maintainers = with maintainers; [ ttuegel alerque ];
platforms = platforms.unix;
};
}

0 comments on commit 074ef76

Please sign in to comment.