Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b8243d104f63
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f1c559057eae
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Apr 19, 2019

  1. git-ignore: 0.2.0 -> 1.0.0

    sondr3 committed Apr 19, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    sondr3 Sondre Aasemoen
    Copy the full SHA
    c5e963f View commit details

Commits on Apr 20, 2019

  1. git-ignore: split outputs

    Use a separate `man` output[1]. All outputs will be installed when using
    the package i.e. with `nix-env -f . -iA gitAndTools.git-ignore`.
    
    [1] https://nixos.org/nix/manual/#ssec-derivation
    Ma27 committed Apr 20, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    dd5ac26 View commit details
  2. Merge pull request #59889 from sondr3/sondr3/git-ignore-1.0.0

    git-ignore: 0.2.0 -> 1.0.0
    Ma27 authored Apr 20, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f1c5590 View commit details
Showing with 12 additions and 6 deletions.
  1. +12 −6 pkgs/applications/version-management/git-and-tools/git-ignore/default.nix
Original file line number Diff line number Diff line change
@@ -3,24 +3,30 @@
with rustPlatform;

buildRustPackage rec {
name = "git-ignore-${version}";
version = "0.2.0";

cargoSha256 = "1fqfy8lnvpn5sd3l73x2p359zq4303vsrdgw3aphvy6580yjb84d";
pname = "git-ignore";
version = "1.0.0";

src = fetchFromGitHub {
owner = "sondr3";
repo = "git-ignore";
repo = pname;
rev = "v${version}";
sha256 = "1nihh5inh46r8jg9z7d6g9gqfyhrznmkn15nmzpbnzf0653dl629";
sha256 = "0krz50pw9bkyzl78bvppk6skbpjp8ga7bd34jya4ha1xfmd8p89c";
};

cargoSha256 = "0r6whz8vghhjyc5vrr0n172nghmi61zj96lk26qm0bgxqyzll1kj";

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];

outputs = [ "out" "man" ];
preFixup = ''
mkdir -p "$man/man/man1"
cp target/release/build/git-ignore-*/out/git-ignore.1 "$man/man/man1/"
'';

meta = with stdenv.lib; {
description = "Quickly and easily fetch .gitignore templates from gitignore.io";
homepage = https://github.com/sondr3/git-ignore;