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: a2638b611fb8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 22b0be560914
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 21, 2019

  1. snzip: init at 1.0.4

    doronbehar authored and fpletz committed Oct 21, 2019
    Copy the full SHA
    a707763 View commit details
  2. Merge pull request #70509 from doronbehar/package-snzip

    snzip: init at 1.0.4
    fpletz authored Oct 21, 2019
    Copy the full SHA
    22b0be5 View commit details
Showing with 33 additions and 0 deletions.
  1. +31 −0 pkgs/tools/archivers/snzip/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
31 changes: 31 additions & 0 deletions pkgs/tools/archivers/snzip/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromGitHub
, autoreconfHook
, pkgconfig
, snappy
}:

stdenv.mkDerivation rec {
pname = "snzip";
version = "1.0.4";

src = fetchFromGitHub {
owner = "kubo";
repo = "snzip";
rev = version;
sha256 = "1v8li1zv9f2g31iyi9y9zx42rjvwkaw221g60pmkbv53y667i325";
};

buildInputs = [ snappy ];
# We don't use a release tarball so we don't have a `./configure` script to
# run. That's why we generate it.
nativeBuildInputs = [ autoreconfHook pkgconfig ];

meta = with stdenv.lib; {
description = "A compression/decompression tool based on snappy";
homepage = "https://github.com/kubo/snzip";
maintainers = with maintainers; [ doronbehar ];
license = licenses.bsd2;
platforms = platforms.linux;
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -10169,6 +10169,8 @@ in

snore = callPackage ../tools/misc/snore { };

snzip = callPackage ../tools/archivers/snzip { };

snowman = qt5.callPackage ../development/tools/analysis/snowman { };

sparse = callPackage ../development/tools/analysis/sparse { };