Skip to content

Commit 247be71

Browse files
authored
Merge pull request #285 from haskell-nix/srk/release/core08etAl
Release `core 0.8`, remote `0.7` and new packages
2 parents de88b65 + a7bb4a6 commit 247be71

File tree

17 files changed

+118
-45
lines changed

17 files changed

+118
-45
lines changed

README.md

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# hnix-store
22

3+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/haskell-nix/hnix-store/ci.yaml?branch=master)](https://github.com/haskell-nix/hnix-store/actions/workflows/ci.yaml)
4+
35
A Haskell interface to the [Nix] store.
46

57
[Nix]: https://nixos.org/nix
@@ -44,12 +46,11 @@ several Haskell packages.
4446

4547
### [hnix-store-core]
4648

47-
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/haskell-nix/hnix-store/ci.yaml?branch=master)](https://github.com/haskell-nix/hnix-store/actions/workflows/ci.yaml)
4849
[![Hackage version](https://img.shields.io/hackage/v/hnix-store-core.svg?color=success)](https://hackage.haskell.org/package/hnix-store-core)
4950
[![Dependencies](https://img.shields.io/hackage-deps/v/hnix-store-core?label=Dependencies)](https://packdeps.haskellers.com/feed?needle=hnix-store-core)
5051

51-
Contains the core effect types and
52-
fundamental operations combining them, agnostic to any particular
52+
Contains the core types and
53+
fundamental operations, agnostic to any particular
5354
effectful implementation (e.g. in-memory, talking to the Nix daemon in
5455
IO, etc.), with the actual implementations in a different package.
5556

@@ -58,14 +59,53 @@ interact with the `Nix` store can simply depend on `hnix-store-core`,
5859
and only at the very edges of the system would it be necessary to
5960
bring in a specific implementation.
6061

62+
### [hnix-store-db]
63+
64+
[![Hackage version](https://img.shields.io/hackage/v/hnix-store-db.svg?color=success)](https://hackage.haskell.org/package/hnix-store-db)
65+
[![Dependencies](https://img.shields.io/hackage-deps/v/hnix-store-db?label=Dependencies)](https://packdeps.haskellers.com/feed?needle=hnix-store-db)
66+
67+
Implementation of the `Nix` store SQLite database.
68+
69+
### [hnix-store-json]
70+
71+
[![Hackage version](https://img.shields.io/hackage/v/hnix-store-json.svg?color=success)](https://hackage.haskell.org/package/hnix-store-json)
72+
[![Dependencies](https://img.shields.io/hackage-deps/v/hnix-store-json?label=Dependencies)](https://packdeps.haskellers.com/feed?needle=hnix-store-json)
73+
74+
`Aeson` instances for core types, required for remote store protocol.
75+
76+
### [hnix-store-nar]
77+
78+
[![Hackage version](https://img.shields.io/hackage/v/hnix-store-nar.svg?color=success)](https://hackage.haskell.org/package/hnix-store-nar)
79+
[![Dependencies](https://img.shields.io/hackage-deps/v/hnix-store-nar?label=Dependencies)](https://packdeps.haskellers.com/feed?needle=hnix-store-nar)
80+
81+
Packing and unpacking for NAR file format used by Nix.
82+
83+
### [hnix-store-readonly]
84+
85+
[![Hackage version](https://img.shields.io/hackage/v/hnix-store-readonly.svg?color=success)](https://hackage.haskell.org/package/hnix-store-readonly)
86+
[![Dependencies](https://img.shields.io/hackage-deps/v/hnix-store-readonly?label=Dependencies)](https://packdeps.haskellers.com/feed?needle=hnix-store-readonly)
87+
88+
Path computation without interaction with the actual `Nix` store
89+
6190
### [hnix-store-remote]
6291

63-
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/haskell-nix/hnix-store/ci.yaml?branch=master)](https://github.com/haskell-nix/hnix-store/actions/workflows/ci.yaml)
6492
[![Hackage version](https://img.shields.io/hackage/v/hnix-store-remote.svg?color=success)](https://hackage.haskell.org/package/hnix-store-remote)
6593
[![Dependencies](https://img.shields.io/hackage-deps/v/hnix-store-remote?label=Dependencies)](https://packdeps.haskellers.com/feed?needle=hnix-store-remote)
6694

6795
[Nix] worker protocol implementation for interacting with remote Nix store
6896
via `nix-daemon`.
6997

98+
### [hnix-store-tests]
99+
100+
[![Hackage version](https://img.shields.io/hackage/v/hnix-store-tests.svg?color=success)](https://hackage.haskell.org/package/hnix-store-tests)
101+
[![Dependencies](https://img.shields.io/hackage-deps/v/hnix-store-tests?label=Dependencies)](https://packdeps.haskellers.com/feed?needle=hnix-store-tests)
102+
103+
Aribtrary instances and utilities for testing.
104+
70105
[hnix-store-core]: ./hnix-store-core
106+
[hnix-store-db]: ./hnix-store-db
107+
[hnix-store-json]: ./hnix-store-json
108+
[hnix-store-nar]: ./hnix-store-nar
109+
[hnix-store-readonly]: ./hnix-store-readonly
71110
[hnix-store-remote]: ./hnix-store-remote
111+
[hnix-store-tests]: ./hnix-store-tests

hnix-store-core/CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Next
1+
# [0.8.0.0](https://github.com/haskell-nix/hnix-store/compare/core-0.7.0.0...core-0.8.0.0) 2024-07-31
22

33
* Changes:
44
* `System.Nix.StorePath.makeStorePathName` renamed to `System.Nix.StorePath.mkStorePathName`
55
* `System.Nix.ReadOnlyStore` moved to `hnix-store-readonly` package
66
and renamed to `System.Nix.Store.ReadOnly` [#247](https://github.com/haskell-nix/hnix-store/pull/247)
77
* `System.Nix.Nar*` moved to `hnix-store-nar` package [#247](https://github.com/haskell-nix/hnix-store/pull/247)
88
* `Arbitrary` instances moved to `hnix-store-tests` package [#241](https://github.com/haskell-nix/hnix-store/pull/241)
9-
* `System.Nix.Internal` namespaces was removed [#236](https://github.com/haskell-nix/hnix-store/pull/236)
9+
* `System.Nix.Internal` namespace was removed [#236](https://github.com/haskell-nix/hnix-store/pull/236)
1010
* `StorePathMetadata` converted to `Metadata a` [#231](https://github.com/haskell-nix/hnix-store/pull/231)
1111
* Moved to `System.Nix.StorePath.Metadata` [#236](https://github.com/haskell-nix/hnix-store/pull/236)
1212
* Constructors of `StorePathName` and `StorePathHashPart` are no longer
@@ -159,3 +159,9 @@ exist and we can tell what common effects they should share.
159159
# 0.1.0.0 -- 2019-03-18
160160

161161
* First version.
162+
163+
---
164+
165+
`hnix-store-core` uses [PVP Versioning][1].
166+
167+
[1]: https://pvp.haskell.org

hnix-store-core/hnix-store-core.cabal

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ maintainer: [email protected]
1313
copyright: 2018 Shea Levy
1414
category: Nix
1515
build-type: Simple
16-
extra-source-files:
16+
extra-doc-files:
1717
CHANGELOG.md
18-
, README.md
18+
extra-source-files:
19+
README.md
1920
, tests/samples/example0.drv
2021
, tests/samples/example1.drv
2122

hnix-store-db/CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
# Unreleased 202y-mm-dd
1+
# 0.1.0.0 2024-07-31
22

3-
* First version.
3+
* Initial release
4+
5+
---
6+
7+
`hnix-store-db` uses [PVP Versioning][1].
8+
9+
[1]: https://pvp.haskell.org

hnix-store-db/hnix-store-db.cabal

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@ cabal-version: 2.2
22
name: hnix-store-db
33
version: 0.1.0.0
44
synopsis: Nix store database support
5-
description: Implementation of the nix store database
5+
description: Implementation of the Nix store database
66
homepage: https://github.com/haskell-nix/hnix-store
77
license: Apache-2.0
88
license-file: LICENSE
9-
author: Richard Marko
9+
author: Sorki
1010
maintainer: [email protected]
11-
copyright: 2023 Richard Marko
11+
copyright: 2023 Sorki
1212
category: Nix
1313
build-type: Simple
14-
extra-source-files:
14+
extra-doc-files:
1515
CHANGELOG.md
16-
, README.md
16+
extra-source-files:
17+
README.md
1718
, README.lhs
1819

1920
flag build-bench

hnix-store-json/CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Version [0.1.0.0](https://github.com/haskell-nix/hnix-store/compare/json-0.1.0.0...json-0.1.1.0) (2023-11-27)
1+
# 0.1.0.0 2024-07-31
22

33
* Initial release
44

@@ -7,4 +7,3 @@
77
`hnix-store-json` uses [PVP Versioning][1].
88

99
[1]: https://pvp.haskell.org
10-

hnix-store-json/hnix-store-json.cabal

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@ name: hnix-store-json
33
version: 0.1.0.0
44
synopsis: JSON serialization for core types
55
description:
6-
Aeson instances for core types
6+
Aeson instances for core types, required for remote store protocol
77
homepage: https://github.com/haskell-nix/hnix-store
88
license: Apache-2.0
99
license-file: LICENSE
10-
author: Richard Marko
10+
author: Sorki
1111
maintainer: [email protected]
12-
copyright: 2023 Richard Marko
12+
copyright: 2023 Sorki
1313
category: Nix
1414
build-type: Simple
15-
extra-source-files:
15+
extra-doc-files:
1616
CHANGELOG.md
17-
, README.md
17+
extra-source-files:
18+
README.md
1819

1920
common commons
2021
ghc-options: -Wall

hnix-store-nar/CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# Version [0.1.0.0](https://github.com/haskell-nix/hnix-store/compare/nar-0.1.0.0...nar-0.1.1.0) (2023-11-27)
1+
# 0.1.0.0 2024-07-31
22

3-
* Initial release
3+
* Initial release after a split from `hnix-store-core`
44

55
---
66

77
`hnix-store-nar` uses [PVP Versioning][1].
88

99
[1]: https://pvp.haskell.org
10-

hnix-store-nar/hnix-store-nar.cabal

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ maintainer: [email protected]
1212
copyright: 2018 Shea Levy
1313
category: Nix
1414
build-type: Simple
15-
extra-source-files:
15+
extra-doc-files:
1616
CHANGELOG.md
17-
, README.md
17+
extra-source-files:
18+
README.md
1819
, tests/fixtures/case-conflict.nar
1920

2021
flag bounded_memory
2122
description: Run tests of constant memory use (requires +RTS -T)
2223
default: False
24+
manual: True
2325

2426
common commons
2527
ghc-options: -Wall

hnix-store-readonly/CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Version [0.1.0.0](https://github.com/haskell-nix/hnix-store/compare/readonly-0.1.0.0...readonly-0.1.1.0) (2023-11-27)
1+
# 0.1.0.0 2024-07-31
22

33
* Initial release
44

@@ -7,4 +7,3 @@
77
`hnix-store-readonly` uses [PVP Versioning][1].
88

99
[1]: https://pvp.haskell.org
10-

0 commit comments

Comments
 (0)